dotfiles/symlinks/gitconfig

40 lines
898 B
Plaintext
Raw Normal View History

2021-01-07 08:09:41 +00:00
[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
2021-01-07 08:09:41 +00:00
[difftool]
prompt = true
2021-01-07 08:09:41 +00:00
[merge]
tool = nvimdiff
2021-01-07 08:09:41 +00:00
[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"
2021-01-07 08:09:41 +00:00
[include]
path = ~/.gitconfig.local
[includeIf "gitdir/i:~/Projects/Optimum/"]
path = ~/.gitconfig.optimum
[includeIf "gitdir/i:~/Projects/University/"]
path = ~/.gitconfig.university
[pull]
rebase = false
2021-01-19 12:27:05 +00:00
[init]
defaultBranch = main