Created
March 5, 2025 20:24
-
-
Save sidwarkd/4f6c75845b8af797852d7d0b93ea595e to your computer and use it in GitHub Desktop.
Default gitconfig file
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
# Taken from https://blog.gitbutler.com/how-git-core-devs-configure-git | |
# Modified with settings I like | |
# clearly makes git better | |
[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 | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment