Skip to content

Instantly share code, notes, and snippets.

View dongchirua's full-sized avatar
🌏
Working from everywhere

Hong Quy Nguyen dongchirua

🌏
Working from everywhere
View GitHub Profile
@dongchirua
dongchirua / github_gpg_key.md
Last active June 18, 2023 06:04 — forked from ankurk91/github_gpg_key.md
Signing git commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
@dongchirua
dongchirua / How to setup GPG for git.md
Created June 15, 2023 17:23 — 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 /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
    killall gpg-agent