From fd2d05e4de4f748cc49c844a148137081a061be2 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Mon, 23 Mar 2015 09:49:21 +0000 Subject: [PATCH] Moved two Git aliases from .bashrc to .gitconfig. --- .bashrc | 2 -- .gitconfig | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 4f1410e..b9beebe 100644 --- a/.bashrc +++ b/.bashrc @@ -55,9 +55,7 @@ fi #-------------------------------------------------------------------------------- # Git aliases #-------------------------------------------------------------------------------- -alias githistory='git log --oneline --abbrev-commit --all --graph --decorate' alias gitx='open -a GitX .' -alias gitprune='git remote prune origin' #-------------------------------------------------------------------------------- #-------------------------------------------------------------------------------- diff --git a/.gitconfig b/.gitconfig index 30b3843..7295bf1 100644 --- a/.gitconfig +++ b/.gitconfig @@ -15,3 +15,5 @@ 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" + history = log --oneline --abbrev-commit --all --graph --decorate + prune = remote prune origin