【发布时间】:2011-07-27 20:20:02
【问题描述】:
我正在将我的主人变基到阶段分支
git checkout stage
git rebase master
有一次我删除了两个文件,然后根据 GIT 修改了这两个文件。
warning: too many files, skipping inexact rename detection
CONFLICT (delete/modify): test-recommendation-result.php deleted in HEAD and modified in [Bug] Fix test recommender. Version [Bug] Fix test recommender of test-recommendation-result.php left in tree.
CONFLICT (delete/modify): test-recommendation.php deleted in HEAD and modified in [Bug] Fix test recommender. Version [Bug] Fix test recommender of test-recommendation.php left in tree.
Failed to merge in the changes.
Patch failed at 0015.
我想说“是的 git,继续删除那些文件”所以 ....
git rm test-recommendation-result.php
git rm test-recommendation.php
git rebase --continue
Git 说:
Applying [Bug] Fix test recommender
No changes - did you forget to use 'git add', Stupid?
When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".
我说“别叫我‘笨蛋’,照我说的做!”
我们现在处于对峙状态。谁是对的,我该如何解决这个问题?
【问题讨论】:
-
git 也称我为愚蠢
标签: git version-control rebase git-rebase