2014-12-15 2 views
1

Существует файл, который был Modify (локальный)/удалить (удаленный) конфликт, который был разоблачен во времяВ цикле для мерзавца добавить/перебазироваться --continue

git rebase 

CONFLICT (modify/delete): python/pyspark/hbase.py deleted in HEAD and modified in Python support. Version Python support of python/pyspark/hbase.py left in tree. 
Failed to merge in the changes. 
Patch failed at 0002 Python support 
The copy of the patch that failed is found in: 
    /shared/hwspark/.git/rebase-apply/patch 

When you have resolved this problem, run "git rebase --continue". 

Я сделал GIT ет -f на файл

git rm -f python/pyspark/hbase.py 

Теперь git говорит, что все конфликты слияния разрешены.

$git status 
rebase in progress; onto a153ab6 
You are currently rebasing branch 'hbase' on 'a153ab6'. 
    (all conflicts fixed: run "git rebase --continue") 

Однако, когда мы "следовать указаниям":

$git rebase --continue 
Applying: Python support 
No changes - did you forget to use 'git add'? 
If there is nothing left to stage, chances are that something else 
already introduced the same changes; you might want to skip this 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". 

Так что должно быть сделано, чтобы очистить это?

+3

Обычно, 'git rebase --skip'. – nwellnhof

ответ

5

Если ничего не осталось на сцене, скорее всего, что-то еще уже ввели те же изменения; вы можете пропустить этот патч .

Как следует из сообщения, вы хотите сделать git rebase --skip.

+0

OK, похоже, работает – javadba

Смежные вопросы