📅  最后修改于: 2022-03-11 14:51:27.538000             🧑  作者: Mango
# 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"