### For re-doing the repo, to take into account your changes to the `.gitignore` Remove Stuff that should ignored. The series of commands below will remove all of the items from the Git Index (not from the working directory or local repo), and then updates the Git Index, while respecting git ignores. PS. Index = Cache First: ``` git rm -r --cached . git add . ``` Then: ``` git commit -m "Remove ignored files" ```