Skip to content

Instantly share code, notes, and snippets.

@remlapmot
Last active March 22, 2023 20:47
Show Gist options
  • Save remlapmot/67c466f4fd2d4cfacc18e8a569180a60 to your computer and use it in GitHub Desktop.
Save remlapmot/67c466f4fd2d4cfacc18e8a569180a60 to your computer and use it in GitHub Desktop.
Git config file
[core]
editor = \"C:\\Users\\eptmp\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\\code\" --wait
excludesFile = C:\\Users\\tom\\.gitignore
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = My Name
email = [email protected]
signingkey =
[gpg]
program = program = C:\\Program Files (x86)\\GnuPG\\bin\\gpg.exe
[commit]
gpgsign = true
@remlapmot
Copy link
Author

Important point: for [gpg] program the filepath does not need to be enclosed in " (it would seem).

@remlapmot
Copy link
Author

On Windows Kleopatra, part of Gpg4win can remember the passphrase of a GPG key. Install from https://www.gpg4win.org/ add Kleopatra in the installer options.

@remlapmot
Copy link
Author

Before using gpg4win

[gpg]
	program = C:\\Program Files\\Git\\usr\\bin\\gpg.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment