bash -s < <(curl -fsSL https://raw.githubusercontent.com/cgardner/dotfiles/master/install.sh)gpg --import /path/to/key.asc-
Get the list of keys
gpg --list-keys
-
Tell git which key to use to sign commits
git config --global user.signingkey ABC123
-
Tell git to automatically sign commits
git config commit.gpgsign true