diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-14 12:21:36 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-03-21 14:21:00 -0400 |
commit | eefb035fe44cb6d5a9019180e021ccedc8829b0b (patch) | |
tree | 6cbb4c1381fbd83db89e4ce7f5c40c5a3d82718c /.config/git/config | |
parent | 2ff110c097169d3e858829bf5fa05cc289a8e019 (diff) |
git aliases
Diffstat (limited to '.config/git/config')
-rw-r--r-- | .config/git/config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config index 242bada..f629179 100644 --- a/.config/git/config +++ b/.config/git/config @@ -14,3 +14,4 @@ [alias] lg = log --graph --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" |