美文网首页
git pull 遇到fatal: refusing to me

git pull 遇到fatal: refusing to me

作者: yaoxiaobing | 来源:发表于2016-12-27 17:45 被阅读0次

    In my case, error was just fatal: refusing to merge unrelated histories
    on every especially first pull request after remotely adding a git repo.
    Using --allow-unrelated-histories
    flag worked with pull request in this way:
    git pull origin branchname --allow-unrelated-histories
    参考http://stackoverflow.com/a/40107973

    相关文章

      网友评论

          本文标题:git pull 遇到fatal: refusing to me

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