-
-
Save heaths/b7911e6cb7c683de963ae272c1193d07 to your computer and use it in GitHub Desktop.
Base configuration for Git across machines
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
[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 ${1:-main} && git push origin ${1:-main} && 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 | |
[init] | |
defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment