问题
通过Idea
中的Git pull
远程的release
分支时出现如下错误:意思是你和修改的代码和远程的代码存在冲突,推荐使用git config pull. rebase false
进行合并, 或者git config pull. rebase true
进行Rebase
或者git config pull. ff only
仅快进。可以将git config
替换为git config——global
来设置默认值。首选所有存储库。你也可以传递rebase
,no-rebase
,或命令行上的ff-only
,以覆盖配置的默认per
调用。需要指定如何协调不同的分支。
From git.dev.sh.ctripcorp.com:offline-react/projectName * branch release -> FETCH_HEAD = [up to date] release -> origin/release hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull