meta data for this page
This is an old revision of the document!
signing git commits
configure remote machine
Public key must be imported on remote machine
gpg --import usert@example.com-public.asc gpg: key XXXXXXXXXXXXX: public key "User <user@example.com>" imported gpg: Total number processed: 1 gpg: imported: 1
git config --global user.signingkey XXXXXXXXXXXXX
Enable signing of each commit by default:
git config --global commit.gpgsign true