mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
gbl - blame, gru - unstage
This commit is contained in:
parent
d485044169
commit
1034e1cf2b
1 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ alias gb='git branch'
|
||||||
compdef _git gb=git-branch
|
compdef _git gb=git-branch
|
||||||
alias gba='git branch -a'
|
alias gba='git branch -a'
|
||||||
compdef _git gba=git-branch
|
compdef _git gba=git-branch
|
||||||
|
alias gbl='git blame -b -w'
|
||||||
|
compdef _git gbl=git-blame
|
||||||
alias gcount='git shortlog -sn'
|
alias gcount='git shortlog -sn'
|
||||||
compdef gcount=git
|
compdef gcount=git
|
||||||
alias gcl='git config --list'
|
alias gcl='git config --list'
|
||||||
|
|
@ -71,8 +73,10 @@ compdef _git ga=git-add
|
||||||
alias gm='git merge'
|
alias gm='git merge'
|
||||||
compdef _git gm=git-merge
|
compdef _git gm=git-merge
|
||||||
alias grh='git reset HEAD'
|
alias grh='git reset HEAD'
|
||||||
|
alias gru='git reset --'
|
||||||
alias grhh='git reset HEAD --hard'
|
alias grhh='git reset HEAD --hard'
|
||||||
alias gclean='git reset --hard && git clean -dfx'
|
alias gclean='git reset --hard && git clean -dfx'
|
||||||
|
compdef _git gm=git-reset
|
||||||
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||||
|
|
||||||
#remove the gf alias
|
#remove the gf alias
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue