1

I know how to sign standard commits using magit, but I'm not able to sign the commits generated by merges. Is there any way to do that?

1 Answer 1

1

You can add additional options to an existing popup:

(magit-define-popup-option 'magit-merge-popup
  ?S "Sign using gpg" "--gpg-sign=" magit-read-gpg-secret-key)

This was copied straight from magit-commit-popup.

Also see https://github.com/magit/magit/wiki/Additional-proposed-infix-arguments-and-suffix-commands.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.