dotfiles/symlinks/gitconfig

40 lines
898 B
Plaintext

[user]
name = Ensar Sarajčić
email = es.ensar@gmail.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 = false
[init]
defaultBranch = main