dotfiles/git/.gitconfig

44 lines
1 KiB
INI
Raw Normal View History

[user]
email = gabevenberg@gmail.com
2023-02-16 21:16:32 +01:00
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)'
2023-06-07 17:57:43 +02:00
graph = log --graph --topo-order --all --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'
recent = branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'
2022-02-07 20:35:51 +01:00
[init]
defaultBranch = main
2023-02-16 11:46:17 +01:00
[push]
autoSetupRemote = true
default = current
[difftool]
prompt = false
[diff]
; tool = nvimdiff
tool = difftastic
algorithm = histogram
submodule = log
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool=true
[pull]
ff = true
[merge]
conflictstyle = zdiff3
[rebase]
autoSquash = true
[help]
autocorrect = prompt
[core]
pager = delta
[delta]
side-by-side = true
[branch]
sort = -committerdate
[status]
submodulesummary = true
[includeIf "gitdir:~/work/"]
path = ".config/git/work.gitconfig"