How to use git merge --squash?

后端 未结 13 1430
夕颜
夕颜 2020-11-22 05:41

I have a remote Git server, here is the scenario which I want to perform:

  • For each bug/feature I create a different Git branch

  • I keep on com

13条回答
  •  孤街浪徒
    2020-11-22 06:24

    I know this question isn't about Github specifically, but since Github is so widely used and this is the answer I was looking for, I'll share it here.

    Github has the ability to perform squash merges, depending on the merge options enabled for the repository.

    If squash merges are enabled, the "Squash and merge" option should appear in the dropdown under the "Merge" button.

提交回复
热议问题