Automatic merge of pull requests on Github without the merge bubble

后端 未结 2 1341
陌清茗
陌清茗 2021-01-31 15:31

The \"This pull request can be automatically merged [Merge pull request]\" button in github is great -- except that it creates merge bubbles.

Is there a way to use this

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 16:05

    No.

    The git blog says using this button you always get an --no-ff merge (no fast-forward merge).

    You'd have to do a manual merge if you don't want merge bubbles:

    git checkout master
    git remote add cameronmcefee git://github.com/cameronmcefee/Spoon-Knife.git
    git fetch cameronmcefee 
    git merge cameronmcefee/my-branch
    git push origin master
    

提交回复
热议问题