删除文件追踪
git rm -r --cached .
本地添加
git add .
commit
git commit -sm "update .gitignore"
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/176803.html原文链接:https://javaforall.net
git .gitignore不起作用删除文件追踪 gitrm rcached 本地添加 gitadd commitgitcom sm update gitignore
删除文件追踪
git rm -r --cached .
本地添加
git add .
commit
git commit -sm "update .gitignore"
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/176803.html原文链接:https://javaforall.net