摘要: 正确的做法应该是:git rm --cached logs/xx.log,然后更新 .gitignore 忽略掉目标文件,最后 git commit -m "We really don't want Git to track this anymore!" 具体的原因如下: 被采纳的答案虽然能达到(暂 阅读全文
posted @ 2018-10-15 13:07 龙鸿轩 阅读(8130) 评论(0) 推荐(0) 编辑