git rm -r --cached .
git add .
git commit -m "fixed untracked files"
参考链接:
http://stackoverflow.com/questions/11451535/gitignore-is-not-working
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
参考链接:
http://stackoverflow.com/questions/11451535/gitignore-is-not-working
本文标题:如何让新添加的 .gitignore 生效
本文链接:https://www.haomeiwen.com/subject/gucmwttx.html
网友评论