Last active
December 19, 2022 19:38
-
-
Save tomdaley92/e7b8cfb51d6d236a33cc5bce7512c877 to your computer and use it in GitHub Desktop.
Git & GPG Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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