Skip to content

Instantly share code, notes, and snippets.

Last active Aug 31, 2021
What would you like to do?
Base configuration for Git across machines
name = Heath Stewart
email =
# On yubikey from within gpg --edit-card, run fetch to set up keys.
signingkey = E7728FAA
sync = !git pull -p --ff-only upstream ${1:-main} && git push origin ${1:-main} && git fetch -p origin
# To support above signingkey from yubikey, need to reference newer gpg.
program = C:/Program Files (x86)/GnuPG/bin/gpg.exe
defaultBranch = main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment