I have a file in my branch that I would like ignored. I added it to .gitignore
but, when I change it, it still shows under deltas in git status
. gitignore does work for previously not versioned files.
Is the reason gitignore doesn't work in this instance the fact that the file in question has already been versioned? How do I circumvent this and ignore it on a going forward basis?