美文网首页
iOS-解决 Git 更新本地冲突:commit your ch

iOS-解决 Git 更新本地冲突:commit your ch

作者: HanZhiZzzzz | 来源:发表于2021-11-13 16:03 被阅读0次

    方法一:stash

    git stash
    git pull
    git stash pop
    方法二:直接完全覆盖本地修改 (sourcetree 切换分支失败 可使用该方法)
    git reset --hard
    git pull

    摘自:https://learnku.com/articles/15129/solve-git-update-local-conflicts-commit-your-changes-or-stash-them-before-you-can-merge

    相关文章

      网友评论

          本文标题:iOS-解决 Git 更新本地冲突:commit your ch

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