Skip to content

Instantly share code, notes, and snippets.

@tomdaley92
Last active December 19, 2022 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomdaley92/e7b8cfb51d6d236a33cc5bce7512c877 to your computer and use it in GitHub Desktop.
Save tomdaley92/e7b8cfb51d6d236a33cc5bce7512c877 to your computer and use it in GitHub Desktop.
Git & GPG Configuration
# ~/.gitconfig
[core]
excludesfile = /home/tom/.gitignore
[user]
name = Thomas Daley
email = $EMAIL
signingKey = 53590CD5B7BDC149
[commit]
gpgsign = true
[gpg]
program = /usr/bin/gpg
[credential]
helper = store
# ~/.gnupg/gpg-agent.conf
# solves commit signing issue with WSL2+VSCODE by using a graphical X11 pinentry program
# WSL2 - Ubuntu 20.04.5 LTS
# `sudo apt install pinentry-gtk2`
pinentry-program /usr/bin/pinentry-gtk-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment