GPG Keys
Steps to sign your commits in Github.com
- For Mac users install. GPG Suite
- Generate new key, use GPG Suite. useful link
- Add your key to GPG keys in Github account. useful link
- Configure git to use the generated key. useful link
gpg --list-secret-keys --keyid-format LONG
git config --global user.signingkey KEY
from previous command replace KEY with yoursgit config --global gpg.program gpg2
git config --global commit.gpgsign true
to automatically sign your commits no need to pass-S
when committing