Git merge two local branches

前端 未结 6 999
小鲜肉
小鲜肉 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 19:58

    For merging first branch to second one:

    on first branch: git merge secondBranch

    on second branch: Move to first branch-> git checkout firstBranch-> git merge secondBranch

提交回复
热议问题