diff git/gitconfig @ 292:6938fb0146f5

Add stuff to `gitconfig`, use better installation for it.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 20 Mar 2015 15:15:20 -0700
parents 02ea6f694bb8
children a951ca3b5d8c
line wrap: on
line diff
--- a/git/gitconfig	Thu Mar 19 17:06:31 2015 -0700
+++ b/git/gitconfig	Fri Mar 20 15:15:20 2015 -0700
@@ -5,3 +5,8 @@
 [push]
 default = simple
 
+[alias]
+lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
+lg2 = log --graph --abbrev-commit --decorate --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
+lg = !"git lg1"
+