Skip to content

Instantly share code, notes, and snippets.

View generic-pers0n's full-sized avatar

Avery King generic-pers0n

View GitHub Profile
@gubatron
gubatron / ssh-git-signing.md
Last active September 18, 2025 01:55
Signing github commits with your SSH key

GPG gives a lot of shit on macos for some reason.

It's best to just add the same SSH authentication key you have on github as a "Signing Key"

$ git config [--global] gpg.format ssh
$ git config [--global] user.signingkey ~/.ssh/id_rsa.pub
$ git config [--global] commit.gpgsign true