10

https://help.github.com/articles/about-pull-request-merges/#squash-and-merge-your-pull-request-commits

Is there way to squash and merge a Pull Request with my GPG signing via command line? Merging a Pull Request on UI doesn't supports GPG signing. I've tried to merge via git merge --squash, but it doesn't close the Pull Request automatically.

Vadim Kotov
  • 7,766
  • 8
  • 46
  • 61
okuryu
  • 221
  • 1
  • 9

1 Answers1

14

The "Squash and merge your pull request commits" is a server-side option which, indeed, does not support gpg signing.

That means you need to:

It is a manual and somewhat convoluted process, but it will work.

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755