dotfiles/git/.gitconfig

56 lines
814 B
INI
Raw Permalink 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
2024-08-30 13:35:23 +00:00
# See: https://git-scm.com/docs/git-config#_includes
2024-08-30 13:22:41 +00:00
[includeIf "gitdir:~/src/personal/**"]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/src/work/**"]
path = ~/.gitconfig-work