Rilcon42 Rilcon42 - 7 months ago 71
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?


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"