mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Additional commands to git plugin
Original author : Kirill Panshin <kipanshi@gmail.com> Merged & cleaned by: ncanceill <https://github.com/ncanceill>
This commit is contained in:
parent
e3d8d7bebe
commit
588943ea57
1 changed files with 5 additions and 4 deletions
|
|
@ -13,7 +13,6 @@ alias gup='git pull --rebase'
|
|||
compdef _git gup=git-fetch
|
||||
alias gp='git push'
|
||||
compdef _git gp=git-push
|
||||
alias gd='git diff'
|
||||
gdv() { git diff -w "$@" | view - }
|
||||
compdef _git gdv=git-diff
|
||||
alias gc='git commit -v'
|
||||
|
|
@ -21,7 +20,7 @@ compdef _git gc=git-commit
|
|||
alias gc!='git commit -v --amend'
|
||||
compdef _git gc!=git-commit
|
||||
alias gca='git commit -v -a'
|
||||
compdef _git gc=git-commit
|
||||
compdef _git gca=git-commit
|
||||
alias gca!='git commit -v -a --amend'
|
||||
compdef _git gca!=git-commit
|
||||
alias gcmsg='git commit -m'
|
||||
|
|
@ -56,9 +55,11 @@ compdef gcount=git
|
|||
alias gcl='git config --list'
|
||||
alias gcp='git cherry-pick'
|
||||
compdef _git gcp=git-cherry-pick
|
||||
alias glg='git log --stat --max-count=10'
|
||||
alias glg='git log --stat --color'
|
||||
compdef _git glg=git-log
|
||||
alias glgg='git log --graph --max-count=10'
|
||||
alias glgp='git log --stat --color -p'
|
||||
compdef _git glgp=git-log
|
||||
alias glgg='git log --graph --color'
|
||||
compdef _git glgg=git-log
|
||||
alias glgga='git log --graph --decorate --all'
|
||||
compdef _git glgga=git-log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue