Skip to content

Instantly share code, notes, and snippets.

View NandoMB's full-sized avatar
🤯

Fernando Machado Bernardino NandoMB

🤯
View GitHub Profile
@NandoMB
NandoMB / signing-git-commits.md
Created April 5, 2023 01:07 — 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
@NandoMB
NandoMB / git.md
Created August 13, 2019 18:53 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda