search

Home  >  Q&A  >  body text

Why after creating a branch on GitHub, the git status will have rebase in progress; onto... This kind of problem

Why does git status have a problem like rebase in progress; onto... after a branch is built on GitHub? How to solve it?

为情所困为情所困2840 days ago1262

reply all(1)I'll reply

  • 某草草

    某草草2017-05-02 09:50:47

    This is not a problem or an error. . . The truth is that you have used git rebase before or just now, but the last process has not been completed yet.

    Open the file(s) with "both added", it will use

    >>>>>>><commitHash>
    xxxx
    <<<<<<<
    xxxx
    >>>>>>>HEAD

    This form will remind you where conflicts occur. After you solve it, git add .,然后 git rebase --continue you can move on to the next step. If you still have conflicts to deal with, just keep doing it.

    Of course, you can also git rebase --abort 来取消目前的进程。根据截图,猜不出你什么时候用过 rebase,因为如果是按你描述的,新建一个 branch,是不会调用 rebase directly

    reply
    0
  • Cancelreply