Moved two Git aliases from .bashrc to .gitconfig.
This commit is contained in:
parent
407092c1d2
commit
fd2d05e4de
2
.bashrc
2
.bashrc
|
@ -55,9 +55,7 @@ fi
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
# Git aliases
|
# Git aliases
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
alias githistory='git log --oneline --abbrev-commit --all --graph --decorate'
|
|
||||||
alias gitx='open -a GitX .'
|
alias gitx='open -a GitX .'
|
||||||
alias gitprune='git remote prune origin'
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
|
@ -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
|
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
|
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"
|
lg = !"git lg1"
|
||||||
|
history = log --oneline --abbrev-commit --all --graph --decorate
|
||||||
|
prune = remote prune origin
|
||||||
|
|
Loading…
Reference in a new issue