i'm using eclipse , egit, eclipse modifies .gitignore file without me asking so. open eclipse .gitignore file modified.
i've added folders .gitignore (through egit) removed them after, eclipse keeps adding removed lines .gitignore.
git checkout .gitignore, version of file- then go eclipse window
- then go terminal , issue:
git status, - i can see .gitignore modified.
how can be?
by default, egit automatically adds resources marked "derived" .gitignore. typical example bin folder in java project containing compiled classes.
you can disable going window > preferences > team > git > projects , deselect "automatically ignore derived resources adding them .gitignore".
there bug in egit added entries when eclipse model , filesystem out-of-sync, see bug 421610 (fixed egit 3.5).
Comments
Post a Comment