美文网首页林梓技术分享集Git
解决git push后修改.gitignore导致不生效的方法

解决git push后修改.gitignore导致不生效的方法

作者: 童蒙vlog | 来源:发表于2017-06-07 10:14 被阅读21次
    git rm -r --cached .
    
    git add .
    
    git commit -m 'update .gitignore'
    
    git push origin master
    

    相关文章

      网友评论

        本文标题:解决git push后修改.gitignore导致不生效的方法

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