[Git] Remove all files from git cache

# remove specific file from git cache
git rm --cached filename
# remove all files from git cache
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"

Comments are closed, but trackbacks and pingbacks are open.