Ignoring previously committed files

https://stackoverflow.com/questions/3833561/why-doesnt-git-ignore-my-specified-file/3833675