gitignore

git rm -r --cached .
git add .
git commit -m 'update .gitignore'
原文地址:https://www.cnblogs.com/KruceCoder/p/7598039.html