Tuesday, 3 September 2013

How to ignore .gitignore files in git status?

How to ignore .gitignore files in git status?

When I run git status, it lists a bunch of .gitignore files that I am not
interested in seeing in the list (they got updated locally by Eclipse). I
browsed numerous posts in regards to this seemingly common issue but none
of the suggested solutions worked for me.
E.g. I went into .gitconfig and found that
excludesfile = ~/.gitignore_global
Then I went into that file and added .gitignore at the tail but that did
not change anything.
How do I effectively ignore .gitignore files in git status so they don't
clutter the view?

No comments:

Post a Comment