Skip to content

Instantly share code, notes, and snippets.

@pablen
Last active February 4, 2019 20:25
Show Gist options
  • Save pablen/7f2f46084530bfadf2b33b74fdc93bed to your computer and use it in GitHub Desktop.
Save pablen/7f2f46084530bfadf2b33b74fdc93bed to your computer and use it in GitHub Desktop.
Globally set git to sign commits. These lines must be present in your ~/.gitconfig
[user]
signingkey = YOUR_HEX_SIGNING_KEY
[commit]
gpgsign = true
[gpg]
program = /Applications/SourceTree.app/Contents/Resources/bin/stgpg.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment