dotfiles/.gitconfig
2025-07-08 16:41:04 +02:00

31 lines
518 B
INI

[init]
defaultBranch = main
[user]
name = Sebastian Bugge
useConfigOnly = true
[pull]
ff = false
rebase = true
[rebase]
autoStash = true
autoSquash = true
[alias]
publish = !git pull && git push
cb = !git-tmp-switch.sh
[push]
default = current
autoSetupRemote = true
[rerere]
enabled = true
[advice]
skippedCherryPicks = false
[help]
autocorrect = 10
[include]
path = ~/.gitconfig_local
[includeIf "gitdir:~/code/"]
path = ~/code/.gitconfig
[branch]
sort = committerdate
[diff]
algorithm = histogram