dotfiles/git/.gitconfig
Sanchayan Maity ccdb81f9b5 git: Set push.default
Do not push anything (error out) unless a refspec is given. We want
to avoid mistakes by always being explicit.

See https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault
2021-09-25 13:21:01 +05:30

49 lines
910 B
INI

[user]
name = Sanchayan Maity
email = sanchayan@sanchayanmaity.net
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
pruneTags = true
[diff]
colorMoved = default
[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]
followTags = true
default = nothing
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
features = line-numbers decorations
whitespace-error-style = 22 reverse
[advice]
addEmptyPathspec = false
[init]
defaultBranch = master