Skip to content

Instantly share code, notes, and snippets.

View MoisesSantana's full-sized avatar

Moises Santana MoisesSantana

View GitHub Profile
@MoisesSantana
MoisesSantana / gpg-to-ssh.md
Created July 27, 2023 22:19
Usando chave SSH como chave GPG
# Configurando ssh como chave gpg
$ git config --global gpg.format ssh

# Configurando signingKey com a chave ssh
$ git config --global user.signingKey 'suaChaveSSH'

# Configurando para que os commits e tags sejam assinados
$ git config --global commit.gpgsign true
$ git config --global tag.gpgsign true