licrifandeMacBook-Pro:iOS-Client crifan$ git checkout message_layout
Switched to branch ‘message_layout’
Your branch and ‘origin/message_layout’ have diverged,
and have 2 and 1 different commit each, respectively.
(use "git pull" to merge the remote branch into yours)
licrifandeMacBook-Pro:iOS-Client crifan$ git status
On branch message_layout
Your branch and ‘origin/message_layout’ have diverged,
and have 3 and 1 different commit each, respectively.
(use "git pull" to merge the remote branch into yours)
nothing to commit, working directory clean
Your branch and have diverged
git rebase – git: branches diverged; how to proceed? – Stack Overflow
后来发现此处是正常的:
继续去执行:
<code>git checkout master git merge message_layout git push </code>
即可。