]> git.phdru.name Git - dotfiles.git/commitdiff
Add beautiful format for log
authorOleg Broytman <phd@phdru.name>
Fri, 6 Dec 2013 13:28:44 +0000 (17:28 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 6 Dec 2013 13:28:44 +0000 (17:28 +0400)
.gitconfig

index 57f758903a8acba196e78423cedc272d232fca53..4afa96f5abf39ad57581b71e76c6bad9061e4397 100644 (file)
@@ -5,8 +5,13 @@
        co = checkout
        l1 = log --oneline
        l5 = log -5
+       lb = log --decorate --graph --stat --pretty=beautiful
+       lb5 = log --decorate --graph --stat --pretty=beautiful -5
        st = status
 
+[pretty]
+       beautiful = format:'%C(blue)%h%Creset (%ar - %C(green)%aN <%aE>%C(reset))%n%B%n'
+
 [core]
        pager = less -FRSXgimq