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:
提示:不指定如何协调不同的分支的拉动是
提示:气馁。您可以通过运行以下命令之一来消除此消息
提示:在你下次pull之前的某个时候命令:
提示:
提示:git config pull。# merge(默认策略)
提示:git config pull。Rebase true # Rebase
提示:git config pull。#快进
提示:
提示:可以将“git config”替换为“git config——global”来设置默认值
提示:首选所有存储库。你也可以传递——rebase,——no-rebase,
提示:或命令行上的——ff-only,以覆盖配置的默认per
提示:调用。
参考文献 聊下git pull --rebase - 王清培 - 博客园
简单对比git pull和git pull --rebase的使用 - 散尽浮华 - 博客园
执行下命令: git config pull.rebase true