Rebasing a Git merge commit

后端 未结 5 934
滥情空心
滥情空心 2020-11-27 09:10

Take the following case:

I have some work in a topic branch and now I\'m ready to merge back to master:

* eb3b733 3     [master] [origin/master]
| * b6         


        
5条回答
  •  囚心锁ツ
    2020-11-27 10:03

    • From your merge commit
    • Cherry-pick the new change which should be easy
    • copy your stuff
    • redo the merge and resolve the conflicts by just copying the files from your local copy ;)

提交回复
热议问题