dotfiles/git/.gitconfig
Gabe Venberg 8a08599322 formatting changes for vim config,
added nvimdiff as default difftool for git.
2023-06-14 16:50:14 -05:00

17 lines
488 B
INI

[user]
email = gabevenberg@gmail.com
name = Gabe Venberg
[alias]
hist = log --graph --date-order --date=short --pretty=format:'%C(auto)%h%d %C(reset)%s %C(bold blue)%ce %C(reset)%C(green)%cr (%cd)'
graph = log --graph --topo-order --all --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'
[init]
defaultBranch = trunk
[push]
autoSetupRemote = true
[difftool]
prompt = false
[diff]
tool = nvimdiff
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""