Skip to content

Instantly share code, notes, and snippets.

View felixgborrego's full-sized avatar

Felix felixgborrego

View GitHub Profile
@johnwgillis
johnwgillis / How to setup GPG for git.md
Last active May 15, 2025 08:24
How to setup GPG for signing commits with Git, SourceTree, and GitHub on Mac

How to setup GPG for signing commits with Git, SourceTree, and GitHub on Mac

  1. Install GPG tools
    1. Install GPG tools and setup pin entry by running:
    brew install gnupg pinentry-mac
    mkdir -m 700 -p ~/.gnupg
    echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
    killall gpg-agent