Skip to content

Instantly share code, notes, and snippets.

@heaths

heaths/.gitconfig Secret

Last active Jul 6, 2020
Embed
What would you like to do?
Base configuration for Git across machines
[user]
name = Heath Stewart
email = heaths@outlook.com
# On yubikey from within gpg --edit-card, run fetch to set up keys.
signingkey = E7728FAA
[alias]
sync = !git pull -p --ff-only upstream master && git push origin master && git fetch -p origin
[gpg]
# To support above signingkey from yubikey, need to reference newer gpg.
program = C:/Program Files (x86)/GnuPG/bin/gpg.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.