tweak git log aliases
This commit is contained in:
parent
80cfd1b2c0
commit
e91209cdf2
1 changed files with 3 additions and 3 deletions
6
zshrc
6
zshrc
|
|
@ -229,7 +229,7 @@ if command_exists git; then
|
||||||
alias ds='git diff --stat'
|
alias ds='git diff --stat'
|
||||||
alias ecf='git edit-conflicted-files mate'
|
alias ecf='git edit-conflicted-files mate'
|
||||||
alias f='git fetch'
|
alias f='git fetch'
|
||||||
alias gl='git log'
|
alias glo='git log --oneline --decorate'
|
||||||
alias gls='git log --stat'
|
alias gls='git log --stat'
|
||||||
alias gup='git update'
|
alias gup='git update'
|
||||||
alias m='git merge'
|
alias m='git merge'
|
||||||
|
|
@ -239,8 +239,8 @@ if command_exists git; then
|
||||||
alias stl='git stash list'
|
alias stl='git stash list'
|
||||||
alias stp='git stash pop'
|
alias stp='git stash pop'
|
||||||
|
|
||||||
function glo() {
|
function gl() {
|
||||||
git 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
|
git 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)'
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue