Moving master head to a branch

后端 未结 5 1262
刺人心
刺人心 2021-02-19 10:31

I have several feature branches and a master branch. Feature2 is done. Normally I would rebase (working with a remote SVN repo and would like to keep the history, so no regular

5条回答
  •  我在风中等你
    2021-02-19 11:35

    It might be best to perform a non fast forward merge of feature 2 into master by using git merge --no-ff feature2 if you have checked out onto the master branch. You should end up with the following

    feature1      C-D  
                 /
    master    A-B-E-----H          
                   \   /                   
    feature2        F-G 
    

提交回复
热议问题