dotfiles/.config/git/config

36 lines
661 B
Text

[core]
editor = nvim
# Only page if more than one screen
pager = "less -FX"
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[credential]
helper = cache --timeout=604800
[diff]
tool = vimdiff
[http]
postBuffer = 524288000
version = HTTP/2
[pull]
rebase = false
[safe]
directory = /opt/homebrew
[init]
defaultBranch = main
[merge]
conflictstyle = diff3
# Set a correct user.name and user.email for work projects
[includeIf "gitdir:~/git/work/"]
path = ~/git/work/gitconfig
# Set a correct user.name and user.email for personal projects
[includeIf "gitdir:~/git/lugh/"]
path = ~/git/lugh/gitconfig