summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <hendrik@securosys.ch>2017-10-12 11:38:20 +0200
committerHendrik Jäger <hendrik@securosys.ch>2017-10-12 11:38:20 +0200
commitf1d4da54830220557361614e9532a570eefdc846 (patch)
treeb137cee0df802be0c09101e2733a629886c19da1
parentea754f29a1595614cbccf3454e18aa275036de88 (diff)
Add lg alias for logs with branch paths
-rw-r--r--.config/git/config5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/git/config b/.config/git/config
index afd3ff9..c6ff7dd 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -1,6 +1,6 @@
[user]
- name = Hendrik Jäger
- email = hendrik@securosys.ch
+ name = Hendrik Jäger
+ email = hendrik@securosys.ch
# push/pull/diff/options
[push]
@@ -54,6 +54,7 @@
lnc = log --pretty=format:"%h\\ %s\\ [%cn]"
fl = log -u
filelog = log -u
+ lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
# }}}
# diff {{{
d = diff --word-diff