git pull 提示 hint: You can replace "git config" with "git config --global" to set a default
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. fatal: Need to specify how to reconcile divergent branches.
解决方法:
终端运行:git config pull.rebase false
当执行gitpull时遇到提示,建议使用gitconfig--globalpull.rebasefalse来设置默认合并策略,以避免需要每次都手动指定如何处理分叉的分支。这将把默认的rebase行为改为false,即使用合并策略。
1061

被折叠的 条评论
为什么被折叠?



