- move the
.gitignore
file in this repo into~
directory in command line - then perform this command
git config --global core.excludesfile ~/.gitignore
- verify if files are properly ignored now, if still not try start up a new terminal and try again.
more detail on windows side in above article
#Reference