Posts

Showing posts from July, 2017

Remove gitignored file from tracking

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 -am "Remove ignored files"