dotfiles/git/.gitconfig

47 lines
827 B
INI

[user]
name = Sanchayan Maity
email = sanchayan@sanchayanmaity.net
login = sanchayanmaity
[core]
editor = "nvim"
pager = nvim -R
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 "nvimdiff"]
cmd = nvim -R -d "$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