分支的分支变基git rebase --onto

interesting-rebase-1

$ git rebase --onto master server client

以上命令的意思是:“取出 client 分支,找出处于 client 分支和 server 分支的共同祖先之后的修改,然后把它们在 master 分支上重放一遍”

interesting-rebase-2

results matching ""

    No results matching ""