Jump to navigation Jump to search
Using gpg2 to sign commits with git
It is reccomended that you use gpg2 instead of gpg1 with git as gpg1 is being deprecated.
$ git config --global gpg.program /usr/bin/gpg2
In your ~/.gnupg/gpg-agent.conf add your chosen pinentry program. For example, if I chose pinentry-gtk, I would add: