mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Merge 012f775a8e into cf03ee6d88
This commit is contained in:
commit
9c55216832
1 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ compdef _git gup=git-fetch
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
compdef _git gp=git-push
|
compdef _git gp=git-push
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
|
compdef _git gd=git-diff
|
||||||
gdv() { git diff -w "$@" | view - }
|
gdv() { git diff -w "$@" | view - }
|
||||||
compdef _git gdv=git-diff
|
compdef _git gdv=git-diff
|
||||||
alias gc='git commit -v'
|
alias gc='git commit -v'
|
||||||
|
|
@ -19,6 +20,7 @@ compdef _git gca=git-commit
|
||||||
alias gco='git checkout'
|
alias gco='git checkout'
|
||||||
compdef _git gco=git-checkout
|
compdef _git gco=git-checkout
|
||||||
alias gcm='git checkout master'
|
alias gcm='git checkout master'
|
||||||
|
compdef _git gcm=git-checkout
|
||||||
alias gr='git remote'
|
alias gr='git remote'
|
||||||
compdef _git gr=git-remote
|
compdef _git gr=git-remote
|
||||||
alias grv='git remote -v'
|
alias grv='git remote -v'
|
||||||
|
|
@ -30,7 +32,7 @@ compdef _git grrm=git-remote
|
||||||
alias grset='git remote set-url'
|
alias grset='git remote set-url'
|
||||||
compdef _git grset=git-remote
|
compdef _git grset=git-remote
|
||||||
alias grup='git remote update'
|
alias grup='git remote update'
|
||||||
compdef _git grset=git-remote
|
compdef _git grup=git-remote
|
||||||
alias gb='git branch'
|
alias gb='git branch'
|
||||||
compdef _git gb=git-branch
|
compdef _git gb=git-branch
|
||||||
alias gba='git branch -a'
|
alias gba='git branch -a'
|
||||||
|
|
@ -38,6 +40,7 @@ compdef _git gba=git-branch
|
||||||
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'
|
||||||
|
compdef _git gcl=git-config
|
||||||
alias gcp='git cherry-pick'
|
alias gcp='git cherry-pick'
|
||||||
compdef _git gcp=git-cherry-pick
|
compdef _git gcp=git-cherry-pick
|
||||||
alias glg='git log --stat --max-count=5'
|
alias glg='git log --stat --max-count=5'
|
||||||
|
|
@ -53,10 +56,15 @@ 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'
|
||||||
|
compdef _git grh=git-reset
|
||||||
alias grhh='git reset HEAD --hard'
|
alias grhh='git reset HEAD --hard'
|
||||||
|
compdef _git grhh=git-reset
|
||||||
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||||
|
compdef _git gwc=git-whatchanged
|
||||||
alias gf='git ls-files | grep'
|
alias gf='git ls-files | grep'
|
||||||
|
compdef _git gf=git-ls-files
|
||||||
alias gpoat='git push origin --all && git push origin --tags'
|
alias gpoat='git push origin --all && git push origin --tags'
|
||||||
|
compdef _git gpoat=git-push
|
||||||
|
|
||||||
# Will cd into the top of the current repository
|
# Will cd into the top of the current repository
|
||||||
# or submodule.
|
# or submodule.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue