摘要: 直接上解决方法: 1 2 3 git rm -r --cached . git add . git commit -m 'update .gitignore' 解释: .gitignore文件,具体的规则一搜就有.我在使用Git的过程中,明明写好了规则,但问题不起作用,每次还是重复提交,无法忍受.其 阅读全文