解决方法: 先把本地缓存删除,然后再进行git的push:
git rm -r --cached . git add . git commit -m 'update .gitignore'
本文标题:Git中.gitignore文件不起作用
本文链接:https://www.haomeiwen.com/subject/rvqzwftx.html
网友评论