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