dotfiles/git/.gitconfig

53 lines
939 B
INI

[user]
name = Sanchayan Maity
email = sanchayan@sanchayanmaity.net
login = sanchayanmaity
[core]
editor = nvim
pager = nvim -R -c 'setf git'
excludesfile = ~/.config/git/ignore
[color]
ui = true
pager = no
[sendemail]
smtpserver = /usr/bin/msmtp
[http]
sslVerify = false
[fetch]
prune = true
pruneTags = true
[diff]
tool = nvimdiff
[difftool]
prompt = false
trustExitCode = true
[difftool "nvimdiff"]
cmd = nvim -R -d $LOCAL $REMOTE
[difftool "kitty"]
cmd = kitty +kitten diff $LOCAL $REMOTE
[merge]
tool = diffconflicts
conflictstyle = diff3
ff = only
[mergetool]
prompt = false
keepBackup = false
[mergetool "diffconflicts"]
cmd = nvim -c DiffConflicts $MERGED $BASE $LOCAL $REMOTE
trustExitCode = true
[rebase]
autosquash = true
autoStash = true
[commit]
verbose = true
[pull]
rebase = false
[push]
default = nothing
[advice]
addEmptyPathspec = false
[init]
defaultBranch = master
[log]
follow = true