Git merge two local branches

前端 未结 6 888
小鲜肉
小鲜肉 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条回答
  •  暖寄归人
    2021-01-29 20:03

    If I understood your question, you want to merge branchB into branchA. To do so, first checkout branchA like below,

    git checkout branchA
    

    Then execute the below command to merge branchB into branchA:

    git merge branchB
    

提交回复
热议问题