git pull 提示 hint: You can replace "git config" with "git config --global" to set a default

发布时间 2023-09-07 11:24:14作者: kpengfang

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.

 

提示:您可以将“git-config”替换为“git-connfig--global”来设置默认值

提示:所有存储库的首选项。你也可以通过——rebase,——no rebase,

提示:或--ff仅在命令行上覆盖配置的默认值

提示:调用。

 

解决方法:

终端运行:git config pull.rebase false

来源:https://blog.csdn.net/java558/article/details/128655924