I'm using Eclipse and EGit, but Eclipse modifies my .gitignore file without me asking to do so. As soon as I open Eclipse the .gitignore file is modified.
I've added some folders to .gitignore (through EGit) but removed them after, but Eclipse keeps adding removed lines to .gitignore.
git checkout .gitignore
, I get the good version of the file- Then I go to Eclipse window
- Then I go back to terminal and issue:
git status
, - I can see that .gitignore is now modified.
How can it be?