Merge, update, and pull Git branches without using checkouts

前端 未结 17 1714
臣服心动
臣服心动 2020-11-22 07:42

I work on a project that has 2 branches, A and B. I typically work on branch A, and merge stuff from branch B. For the merging, I would typically do:

git mer         


        
17条回答
  •  日久生厌
    2020-11-22 08:28

    You can simply git pull origin branchB into your branchA and git will do the trick for you.

提交回复
热议问题