Merging 2 branches together in GIT

后端 未结 3 1079
心在旅途
心在旅途 2020-12-12 09:52

I\'ve only just started to use GIT and think its wonderful, however I\'m a little confused over what the merge command does.

Let us say we have a workin

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-12 10:21

    If you want to merge changes in SubBranch to MainBranch

    1. you should be on MainBranch git checkout MainBranch
    2. then run merge command git merge SubBranch

提交回复
热议问题