Moved two Git aliases from .bashrc to .gitconfig.

This commit is contained in:
Scott Wallace 2015-03-23 09:49:21 +00:00
parent 407092c1d2
commit fd2d05e4de
2 changed files with 2 additions and 2 deletions

View file

@ -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'
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------

View file

@ -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