美文网首页
Git中.gitignore文件不起作用

Git中.gitignore文件不起作用

作者: AsaGuo | 来源:发表于2018-09-05 17:51 被阅读6次

    解决方法:
    先把本地缓存删除,然后再进行git的push:

    git rm -r --cached .
    git add .
    git commit -m 'update .gitignore'
    

    相关文章

      网友评论

          本文标题:Git中.gitignore文件不起作用

          本文链接:https://www.haomeiwen.com/subject/rvqzwftx.html