dotfiles/symlinks/gitconfig

38 lines
817 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
[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