Skip to content

Instantly share code, notes, and snippets.

View knottx's full-sized avatar
:octocat:

Visarut Tippun knottx

:octocat:
View GitHub Profile
@knottx
knottx / How to setup GPG for git.md
Last active April 29, 2024 10:11 — forked from johnwgillis/How to setup GPG for git.md
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 /opt/homebrew/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
    killall gpg-agent