Reordering of commits

前端 未结 5 827
旧巷少年郎
旧巷少年郎 2020-11-28 02:33

I\'m currently working on a branch and want some commits to merge into other branches:

    a-b-c-d-e-f-g (branchA)
   /
--o-x-x-x-x-x-x-x-x-x-x (master)
   \         


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 03:24

    git rebase is what you want. Check out the --interactive option.

提交回复
热议问题