【发布时间】:2015-07-02 10:36:18
【问题描述】:
我基于master创建了一个名为lab的分支。几个月后,我尝试基于 master 重新定义实验室分支。首先有一个 .gitignore 冲突;解决后,我运行了git rebase --continue,但又失败了,这次没有帮助信息告诉我如何继续这个变基。如何在 master 的基础上 rebase lab 分支?
git rebase --continue
Applying: start edit
Applying: a
fatal: mode change for .gitmodules, which is not in current HEAD
Repository lacks necessary blobs to fall back on 3-way merge.
Cannot fall back to three-way merge.
Patch failed at 0002 a
The copy of the patch that failed is found in:
f:/testxxx/.git/rebase-apply/patch
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
【问题讨论】:
标签: git git-branch git-submodules