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