removing files part of a later-added git ignore
December 10, 2018 Leave a comment
Dear Future Jamie
When you add a gitignore to an existing project, to force git to release the files you don’t want, run the following from the directory where the project is located (note the extra period at the end of the 2st two commands)
1 git rm -r –cached . 2 3 git add . 4 5 git commit -am "Remove ignored files" 6
Love
Past Jamie