My .gitignore
file is the following:
$ cat .gitignore
Index/
Index/LOG
I added .gitignore
file to repo, commit and even push. But git status
permanently shows:
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Index/LOG
#
So how to exclude whole Index
folder from git repository forever?