美文网首页
解决Git在添加ignore文件之前就提交了项目无法再过滤问题

解决Git在添加ignore文件之前就提交了项目无法再过滤问题

作者: 煮茶听雨 | 来源:发表于2017-12-11 18:23 被阅读0次

    http://blog.csdn.net/lusyoe/article/details/53400948

    • git pull
    • git rm -r --cached .
    • 新建.gitignore文件
    • git add .
    • git commit -m "xx"
    • git push

    相关文章

      网友评论

          本文标题:解决Git在添加ignore文件之前就提交了项目无法再过滤问题

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