default gpg signing key
- From
Marco Sirabella <marco@sirabella.org>
- Date
- Feb 18, 2019, 20:12 UTC
- Message-ID
- <20190218201232.pqyy3kws75zduq7g@Ridl3y>
Hi all,
When signing a commit with git, the newer of two signing keys under my main master key is used. This is even the case when `default-key` is set in `gpg.conf` (`gpg --sign` uses the correct key).
Is there any way to tell git to not use the `--local-user` flag when signing, and just let `gpg` decide which key to sign with? Or is `gpg.signingKey` in the config the way to go?
Thanks,
-- Marco Sirabella