From c96378783b2ab7ef57fc842981e84935f41c0f9d Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 6 Aug 2012 16:24:52 +0200 Subject: [PATCH] added aliases for colored git log, git diff --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 2b19c03..2a0a014 100644 --- a/.bashrc +++ b/.bashrc @@ -7,3 +7,5 @@ HISTTIMEFORMAT="%d.%m.%Y %H:%M %Z #" # aliases alias grep='grep --color' alias gdp='git diff HEAD^ HEAD' +alias gl='git log --pretty=format:"%Cgreen%h %Creset %s %Cgreenby %an (%ar) %Cred %d" --graph' +alias gdc='git diff --color'