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 LONGgit config --global user.signingkey KEYfrom previous command replace KEY with yoursgit config --global gpg.program gpg2git config --global commit.gpgsign trueto automatically sign your commits no need to pass-Swhen committing