apply gitignore changes
$ git rm -r --cached <newly ignored stuff>
$ git commit -m <message>
https://stackoverflow.com/questions/38450276/force-git-to-update-gitignore
$ git rm -r --cached <newly ignored stuff>
$ git commit -m <message>
https://stackoverflow.com/questions/38450276/force-git-to-update-gitignore