Rilcon42 Rilcon42 - 1 year ago 225
Git Question

git GUI ignores .gitignore file?

I am creating my first

file. It looks like this:



However when I open the GIT gui and click "Stage Changed" I get a bunch of
files staged. What am I missing?

Answer Source

Any git GUI not more than interface over primitive CLI commands. It's possible that some of files you try to ignore are already tracking by git, so .gitignore doesn't apply to them. Try to remove them from git index:

git rm -r --cached . 
git add .
git commit -am "Drop ignored files"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download