相关疑难解决方法(0)

如何处理这个 git 警告?“不鼓励在不指定如何协调不同分支的情况下进行拉取”

git pull origin master我收到以下消息后:

warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or …
Run Code Online (Sandbox Code Playgroud)

git

446
推荐指数
19
解决办法
14万
查看次数

标签 统计

git ×1