dotfiles/git/.gitconfig

55 lines
761 B
INI
Raw Normal View History

2024-08-30 13:22:41 +00:00
[core]
editor = nvim
autocrlf = input
pager = delta
excludeFiles = ~/.gitignore
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
light = false
line-numbers = true
[merge]
conflictstyle = zdiff3
[diff]
colorMoved = default
algorithm = histogram
[rebase]
autosquash = true
autostash = true
[push]
default = current
autoSetupRemote = true
[init]
defaultBranch = main
[commit]
verbose = true
[rerere]
enabled = true
[help]
autocorrect = 10
[log]
date = iso
[branch]
sort = -committerdate
[color]
ui = auto
[includeIf "gitdir:~/src/personal/**"]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/src/work/**"]
path = ~/.gitconfig-work