Created
March 20, 2025 16:51
-
-
Save shortthirdman/ef0a59d12dcacae169fa5609f3e35e78 to your computer and use it in GitHub Desktop.
Git Configuration on Windows/Mac/Linux
This file contains hidden or 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
# clearly makes git better | |
[column] | |
ui = auto | |
[branch] | |
sort = -committerdate | |
[tag] | |
sort = version:refname | |
[init] | |
defaultBranch = main | |
[diff] | |
# myers, minimal, patience and histogram | |
algorithm = histogram | |
colorMoved = plain | |
mnemonicPrefix = true | |
renames = true | |
[push] | |
default = simple | |
autoSetupRemote = true | |
followTags = true | |
[fetch] | |
prune = true | |
pruneTags = true | |
all = true | |
# why the hell not? | |
[help] | |
autocorrect = prompt | |
[commit] | |
verbose = true | |
[rerere] | |
enabled = true | |
autoupdate = true | |
[core] | |
excludesfile = ~/.gitignore | |
[rebase] | |
autoSquash = true | |
autoStash = true | |
updateRefs = true | |
[grep] | |
patternType = perl | |
# a matter of taste (uncomment if you dare) | |
[core] | |
fsmonitor = true | |
# untrackedCache = true | |
[merge] | |
# (just 'diff3' if git version < 2.3) | |
# conflictstyle = zdiff3 | |
[pull] | |
# rebase = true | |
[feature] | |
# experimental = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment