mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
parent
e2595c5ff5
commit
92ee30e7be
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ alias gdc='git diff --cached'
|
||||||
compdef _git gdc=git-diff
|
compdef _git gdc=git-diff
|
||||||
gdv() { git diff -w "$@" | view - }
|
gdv() { git diff -w "$@" | view - }
|
||||||
compdef _git gdv=git-diff
|
compdef _git gdv=git-diff
|
||||||
|
alias gbl='git blame -b -w'
|
||||||
|
compdef _git gbl=git-blame
|
||||||
# Pull
|
# Pull
|
||||||
alias gl='git pull'
|
alias gl='git pull'
|
||||||
compdef _git gl=git-pull
|
compdef _git gl=git-pull
|
||||||
|
|
@ -160,6 +162,8 @@ alias grh='git reset HEAD'
|
||||||
compdef _git grh=git-reset
|
compdef _git grh=git-reset
|
||||||
alias grhh='git reset HEAD --hard'
|
alias grhh='git reset HEAD --hard'
|
||||||
compdef _git grhh=git-reset
|
compdef _git grhh=git-reset
|
||||||
|
alias gru='git reset --'
|
||||||
|
compdef _git gru=git-reset
|
||||||
alias gclean='git reset --hard && git clean -dfx'
|
alias gclean='git reset --hard && git clean -dfx'
|
||||||
# Log
|
# Log
|
||||||
alias gcount='git shortlog -sn'
|
alias gcount='git shortlog -sn'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue