码迷,mamicode.com
首页 > 其他好文 > 详细

如何解决Pulling without specifying how to reconcile divergent branches

时间:2021-06-10 18:54:15      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:his   ast   global   fast   如何   ref   gen   OWIN   you   

% git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before 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 repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.

执行下面的配置,

% git config --global pull.ff only

如何解决Pulling without specifying how to reconcile divergent branches

标签:his   ast   global   fast   如何   ref   gen   OWIN   you   

原文地址:https://www.cnblogs.com/jiqing9006/p/14871417.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!