Git merge two local branches

前端 未结 6 887
小鲜肉
小鲜肉 2021-01-29 19:18

I have branch Master, branchA and branchB. Now I\'m working in the branchA and I need to merge branchA with

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-29 20:05

    Here's a clear picture:

    Assuming we have branch-A and branch-B

    We want to merge branch-B into branch-A

    on branch-B -> A: switch to branch-A
    
    on branch-A: git merge branch-B
    

提交回复
热议问题