git rebase问题:First, rewinding head to replay your work on top of it

分支上使用 git rebase 主干名   同步代码时提示:

First, rewinding head to replay your work on top of it...

具体信息如截图:

用下面的命令可以解决:

git fetch origin;

git reset --hard origin/<branch>

猜你喜欢

转载自blog.csdn.net/cj_eryue/article/details/130719096