Yoges Nsamy on Twitter: "Updating the .gitignore file halfway through a pjt won't work unless the git cache is cleared. A simple alternative is to update the file `.git/info/exclude`. This way works
How to ignore your untracked files with git from command line β MΓ³r Kalla β Blog
Add Git Ignore to an existing Visual Studio Solution (New Git Experience) β Eric L. Anderson