I'd like to sign each of my git commits but I don't want to type my passphrase every 10 minutes. I store my passphrase in a password manager and have CLI access to the passphrase via that manager.
How do I get Git to call GPG in such a way that GPG pulls the passphrase from my password manager directly, rather than me copying it from my password manager and pasting it into the GPG prompt?
I use this:
https://github.com/logston/dotfiles/blob/master/git-commands/.git-commands/gpg.git
Each time I need to commit, my password manager (if open) supplies the password to Git. If the password manager is not open, Git correctly fails to sign the commit.