dot_gitconfig.tmpl
792 bytes
1; vim: noet ft=gitconfig
2[user]
3 name = TheEdgeOfRage
4 email = git@theedgeofrage.com
5[pull]
6 rebase = true
7{{ if (index . "work") | default false -}}
8[url "github.com:duneanalytics"]
9 insteadOf = https://github.com/duneanalytics
10{{- end }}
11[alias]
12 lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
13 slg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s' --abbrev-commit
14[init]
15 defaultBranch = main
16[color]
17 ui = auto
18[advice]
19 skippedCherryPicks = false
20
21[core]
22 pager = diff-so-fancy | less --tabs=4 -RF
23[interactive]
24 diffFilter = diff-so-fancy --patch
25[diff]
26 colorMoved = no
27[difftool]
28 prompt = false
29[diff-so-fancy]
30 markEmptyLines = false
31 stripLeadingSymbols = false