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"

Comments

Popular posts from this blog

Enable the imap in support in xampp server