Skip to content

Instantly share code, notes, and snippets.

@sverweij
Created November 22, 2022 12:46
Show Gist options
  • Save sverweij/b3db6886a7a3160785b2d47a11c3bc3a to your computer and use it in GitHub Desktop.
Save sverweij/b3db6886a7a3160785b2d47a11c3bc3a to your computer and use it in GitHub Desktop.
# This is Git's per-user configuration file.
[user]
name = redacted
email = redacted@users.noreply.github.com
signingkey = REDACTED3REDACTE
[credential]
helper = osxkeychain
[format]
pretty = %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
[alias]
ca = commit -am
cm = commit -m
co = checkout
l = log --pretty=format:%Cred%h%Creset\\ %s
lg = log --pretty=format:%Cred%h%Creset\\ %s --graph
lrn = log --pretty=format:*\\ %s
s = status --short --branch
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
template = /Users/redacted/.stCommitMsg
gpgsign = true
[gpg]
program = gpg
[tag]
gpgSign = true
[pull]
rebase = true
[push]
autoSetupRemote = true
[init]
defaultBranch = main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment