Git
GPG To Sign Commits
# Gpg to sign git commits
# using existing key
gpg --import public.key
gpg --list-secret-keys --keyid-format LONG
# replace 3AA5C34371567BD2 with your gpg key ID
git config --global user.signingkey 3AA5C34371567BD2
echo 'export GPG_TTY=$(tty)' >> ~/.bashrc
export GPG_TTY=$(tty)
# Make sure your name and email are set in git config
git config --global user.name "Your Name"
git config --global user.email you@example.com
# Check the sign off after doing the commit
git log --show-signature -1