Skip to content

Instantly share code, notes, and snippets.

View khoa-elsa's full-sized avatar
🏠
Working from home

Khoa khoa-elsa

🏠
Working from home
  • Ho Chi Minh City
  • 17:17 (UTC +07:00)
View GitHub Profile
@khoa-elsa
khoa-elsa / signing-git-commits.md
Created September 26, 2024 16:15 — forked from phortuin/signing-git-commits.md
Set up a GPG key for signing Git commits on MacOS (M1)

Based on this blogpost.

To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.

Setting up

Install with Homebrew:

$ brew install gpg