Vexcited's Logo

Configuration

Global

Here’s all the global configuration I use across all my projects.

git config --global gpg.format ssh
git config --global gpg.ssh.program ssh-keygen # not required, but just in case

git config --global tag.gpgSign true
git config --global commit.gpgsign true

git config --global rerere.enabled true
git config --global fetch.pruneTags true

git config --global user.name "Your NAME"

Local

git config user.email "your@email.com"
git config user.signingkey "ssh-ed25519 MY_PUBLIC_KEY"

The adequate private key will be pulled by Bitwarden’s SSH agent since I self-host Vaultwarden. Take a look at my bw2ssh CLI to learn more.