How can I make a non fast-forward merge?

In GitHub, merges are fast-forward by default. Even though I can use git merge <branch> --no-ff to merge locally, to make the merge non fast-forward. I am wondering if there is a way to configure in GitHub interface, to make the repo merge non-fast-forwardly?

Thanks

1 Like

Hi @boxsnake welcome to the community and congrats on your first post! From our docs: Pull requests are merged using the --no-ff option, except for pull requests with squashed or rebased commits, which are merged using the fast-forward option.