mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
去掉gm的alias
This commit is contained in:
parent
e44aa50301
commit
a48c21d780
1 changed files with 25 additions and 0 deletions
|
|
@ -80,6 +80,31 @@ alias gco='git checkout'
|
||||||
alias gcount='git shortlog -sn'
|
alias gcount='git shortlog -sn'
|
||||||
compdef gcount=git
|
compdef gcount=git
|
||||||
alias gcp='git cherry-pick'
|
alias gcp='git cherry-pick'
|
||||||
|
compdef _git gcp=git-cherry-pick
|
||||||
|
alias glg='git log --stat --max-count=10'
|
||||||
|
compdef _git glg=git-log
|
||||||
|
alias glgg='git log --graph --max-count=10'
|
||||||
|
compdef _git glgg=git-log
|
||||||
|
alias glgga='git log --graph --decorate --all'
|
||||||
|
compdef _git glgga=git-log
|
||||||
|
alias glo='git log --oneline --decorate --color'
|
||||||
|
compdef _git glo=git-log
|
||||||
|
alias glog='git log --oneline --decorate --color --graph'
|
||||||
|
compdef _git glog=git-log
|
||||||
|
alias gss='git status -s'
|
||||||
|
compdef _git gss=git-status
|
||||||
|
alias ga='git add'
|
||||||
|
compdef _git ga=git-add
|
||||||
|
alias gap='git add --patch'
|
||||||
|
alias gaa='git add --all'
|
||||||
|
#alias gm='git merge'
|
||||||
|
compdef _git gm=git-merge
|
||||||
|
alias grh='git reset HEAD'
|
||||||
|
alias grhh='git reset HEAD --hard'
|
||||||
|
alias gclean='git reset --hard && git clean -dfx'
|
||||||
|
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
|
||||||
|
|
||||||
|
# Sign and verify commits with GPG
|
||||||
alias gcs='git commit -S'
|
alias gcs='git commit -S'
|
||||||
|
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue