rebase in progress. Cannot commit. How to proceed or stop (abort)?

后端 未结 9 1386
鱼传尺愫
鱼传尺愫 2020-12-12 12:46

When I run:

git status

I see this:

rebase in progress; onto 9c168a5
You are currently rebasing branch \'master\' on \'9c1         


        
9条回答
  •  心在旅途
    2020-12-12 13:12

    Rebase doesn't happen in the background. "rebase in progress" means that you started a rebase, and the rebase got interrupted because of conflict. You have to resume the rebase (git rebase --continue) or abort it (git rebase --abort).

    As the error message from git rebase --continue suggests, you asked git to apply a patch that results in an empty patch. Most likely, this means the patch was already applied and you want to drop it using git rebase --skip.

提交回复
热议问题