dotfiles/git/.gitconfig
Sanchayan Maity 39e9b824a6 git: Some improvements to git configuration
Use fast forward only for merge, auto stash when doing rebase and take
care of tags when doing a push.
2020-10-02 12:08:21 +05:30

42 lines
780 B
INI

[user]
name = Sanchayan Maity
email = maitysanchayan@gmail.com
login = sanchayanmaity
[core]
editor = "nvim"
pager = delta --dark
excludesfile = ~/.config/git/ignore
[color]
ui = true
[sendemail]
smtpserver = /usr/bin/msmtp
[http]
sslVerify = false
[fetch]
prune = true
[diff]
colorMoved = default
[merge]
tool = vimdiff3
conflictstyle = diff3
ff = only
[mergetool]
prompt = false
[mergetool "vimdiff"]
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
trustExitCode = true
keepBackup = false
[rebase]
autoStash = true
[commit]
verbose = true
[pull]
rebase = false
[push]
followTags = true
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
features = line-numbers decorations
whitespace-error-style = 22 reverse