当前位置:   article > 正文

idea git pull失败小记_branch master -> fetch_head = [up to date] master

branch master -> fetch_head = [up to date] master -> origin/master hint: you

错误信息

2:55 PM Git Pull Failed
POST git-upload-pack (xxx bytes)
POST git-upload-pack (xxx bytes)
remote: Enumerating objects: xxx, done.
remote: Total xx (delta xx), reused xxx (delta x)
From xxxxx
* branch fxxxx -> FETCH_HEAD
* branch master -> FETCH_HEAD
= [up to date] xxxx -> origin/xxxxx
xxxxx master -> origin/master
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace “git config” with “git config --global” to set a default
hint: preference for all reposito… (show balloon)

解决问题

看提示,设置:git config pull.rebase false即可
或者全局设置: git config --global pull.rebase false

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/384830
推荐阅读
相关标签
  

闽ICP备14008679号