-
Notifications
You must be signed in to change notification settings - Fork 46
Verify Git Commits
Marius David Wieschollek edited this page Oct 14, 2018
·
2 revisions
Follow this GitLab tutorial or this GitHub tutorial.
You can set the git signing settings on a per-project base. Use the following commands to sign the commits in a project with your gpg key.
git config user.signingkey YOURKEY
git config commit.gpgsign true
To use git signing with your IDE, you will have to edit your GnuPG configuration.
nano ~/.gnupg/gpg.conf
Add these lines to the end of your configuration:
no-tty
use-agent