2

Note: this is the git gui variant of "Is there a way to “autosign” commits in Git with a GPG key?"

I configured git to autosign commits made from the command line by (globally) configuring commit.gpgsign to be true and user.signingkey to be the id of the key I want to sign with. This works great. But when I create a commit by opening git gui and hitting the commit button, the resulting commit is not signed.

Is there a way to make git gui automatically sign all commits it makes?

Craig Gidney
  • 17,763
  • 5
  • 68
  • 136

1 Answers1

2

The setup you have done should work. You may need to restart git gui for changes to global configs to take effect.

There was a bug related to this in git gui in version 2.9, but it's fixed in version 2.10.1.

Craig Gidney
  • 17,763
  • 5
  • 68
  • 136
phd
  • 82,685
  • 13
  • 120
  • 165