How do I merge multiple branches into master?

前端 未结 2 1488
野的像风
野的像风 2020-12-22 23:30
        C---D  =>b1
      /    
     /  E---F  =>b2
     | /   
  A--B =======> master
     | \\
     \\  G---H  =>b3
      \\ 
       I---J   =>b4
         


        
2条回答
  •  無奈伤痛
    2020-12-23 00:16

    Git has a merging strategy called octupus which can merge multiple branches, as long as there are no complex conflicts. The command to do this is exactly as you suggested git merge b1 b2.

提交回复
热议问题