Feature Request: Fast-forward merge without squashing

If there’s a way to do this without resorting to local git commands, I’d love to know, but best I can tell, it’s impossible to have Github enforce linear commit history without requiring either squashing or rebasing commits in a PR, both of which rewrite their history. This is annoying because I lose GPG signing on the commits.

What I’m asking is for a 4th merge option called “Fast-Forward Only”.

Hi there! :wave: Welcome to the Community!

You’re correct that this is not possible via the web UI at the moment. We’re always working to improve GitHub, and we consider every suggestion we receive, so perhaps you’d like to submit a feature request through our official product feedback form so that our product team can see exactly how you’d like enforcing a linear history and our merge options to work?

Will do that, thanks!

1 Like