gengliangwang commented on a change in pull request #32998:
URL: https://github.com/apache/spark/pull/32998#discussion_r655237186



##########
File path: .gitignore
##########
@@ -15,8 +15,8 @@
 .ensime_cache/
 .ensime_lucene
 .generated-mima*
-# The star is required for further !.idea/ to work, see 
https://git-scm.com/docs/gitignore
-.idea/*

Review comment:
       Well we can always add the new file with `-f` option. Git has hint for 
this:
   ```
   $ git add .idea/foo
   The following paths are ignored by one of your .gitignore files:
   .idea
   hint: Use -f if you really want to add them.
   hint: Turn this message off by running
   hint: "git config advice.addIgnoredFile false"
   
   $ git add -f .idea/foo
   $ git st
   On branch improveIgnore
   Changes to be committed:
     (use "git restore --staged <file>..." to unstage)
        new file:   .idea/foo
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to