Browse Source

git log alias

master
Robin Thoni 8 years ago
parent
commit
e7474eec1e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      git/gitconfig

+ 1
- 0
git/gitconfig View File

@@ -5,6 +5,7 @@
5 5
 	ci = commit
6 6
 	p = push
7 7
         lg = log --decorate --oneline
8
+  lgg = "! (git log --graph --pretty=format:'%Cred%h%Creset - %C(bold blue)<%an>%C(bold yellow)%d%Creset %s %C(bold green)(%<(5,trunc)%ad%x08 %<(18,trunc)%ai%x08 ~ %ar%x08)%Creset' --abbrev-commit; echo) | sed 's/ ago\\x08//g;s/..\\x08//g'"
8 9
 [color]
9 10
 	status = auto
10 11
 [push]

Loading…
Cancel
Save