Skip to content

Instantly share code, notes, and snippets.

@schacon
Created February 20, 2025 19:30
Show Gist options
  • Save schacon/60fe9d0dd240ea1bf342202e198ed957 to your computer and use it in GitHub Desktop.
Save schacon/60fe9d0dd240ea1bf342202e198ed957 to your computer and use it in GitHub Desktop.
my gitconfig
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[init]
defaultBranch = main
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[push]
default = simple
autosetupremote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
[help]
autocorrect = prompt
[commit]
verbose = true
[rerere]
enabled = true
autoupdate = true
[core]
excludesfile = ~/.gitignore
[grep]
linenumber = true
heading = true
break = true
patternType = perl
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
# a matter of taste
[branch]
# autoSetupMerge = simple
[core]
# fsmonitor = true
[merge]
# conflictstyle = zdiff3
[pull]
# rebase = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment