# 删除本地缓存 git rm -r --cached . # 提交到暂缓区 git add . # 提交到本地仓库 git commit -m'update .gitingnore' # 提交到远程仓库 git push
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/178636.html原文链接:https://javaforall.net
git解决.gitignore不起作用转载自 https blog csdn net weixin article details utm medium distribute pc relevant none task blog baidujs title 0 amp spm 1001 2101 3001 4242 删除本地缓存 gitrm rcached 提交到暂缓区 gitadd 提交到本地仓库 gitcommit m update gitingnore
# 删除本地缓存 git rm -r --cached . # 提交到暂缓区 git add . # 提交到本地仓库 git commit -m'update .gitingnore' # 提交到远程仓库 git push
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/178636.html原文链接:https://javaforall.net