Add pretty "git log --graph" aliases
David Blume

David Blume commited on 2017-04-21 00:25:04
Showing 1 changed files, with 3 additions and 0 deletions.

... ...
@@ -10,3 +10,6 @@
10 10
 [core]
11 11
 	editor = vim
12 12
 	excludesfile = ~/.gitignore
13
+[alias]
14
+	log1 = log --graph --abbrev-commit --decorate --date=short --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ad)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
15
+	log2 = log --graph --abbrev-commit --decorate --date short --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%ad%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
13 16