dotfiles/symlinks/gitconfig

42 lines
928 B
Plaintext

[user]
name = Ensar Sarajčić
email = dev@ensarsarajcic.com
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
pager = less -+FX
[web]
browser = xdg-open
[diff]
tool = nvimdiff
[difftool]
prompt = true
[merge]
tool = nvimdiff
[mergetool]
keepBackup = false
[guitool "Add to .gitignore"]
cmd = echo \"\n$FILENAME\" >> .gitignore & git add .gitignore
needsfile = yes
confirm = yes
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[filter "personal-godot-configuration-projects"]
clean = sed -e "/projects.*/d"
[include]
path = ~/.gitconfig.local
[includeIf "gitdir/i:~/Projects/Optimum/"]
path = ~/.gitconfig.optimum
[includeIf "gitdir/i:~/Projects/University/"]
path = ~/.gitconfig.university
[pull]
rebase = true
[init]
defaultBranch = main
[sendemail]
annotate = yes