dotfiles/git/.gitconfig
Sanchayan Maity f3fdde252a git: Add support for using kitty as a difftool
While at it drop unnecessary double quotes.
2022-01-04 19:35:33 +05:30

52 lines
925 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]
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