summaryrefslogtreecommitdiff
path: root/.config/git/config
blob: 2e85773522b5e3a8b1f2b1ed2546bf4c43d30e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
[user]
	name = Luke Shumaker
	email = lukeshu@lukeshu.com
[color]
	ui = auto
[push]
	default = matching
[alias]
	lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
	hist = log --format='%h %ci -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit
	graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format:  %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"