git提交后提交忽略文件处理.gitignore

 git rm -r --cached .//清空缓存
git add .//重新提交
git commit -am "update .gitignore"
git push origin master
 
重新提交一次就可以了.

猜你喜欢

转载自www.cnblogs.com/jhuangsjtu/p/9241434.html