1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 04:28:00 +00:00

[Fix #77] Alias giR to 'git reset --keep'

This commit is contained in:
Sorin Ionescu 2012-03-30 12:04:59 -04:00
parent 39f8602c63
commit d4a5bedb48

View File

@ -88,9 +88,9 @@ alias gid='git diff --no-ext-diff --cached'
compdef _git gid=git-diff compdef _git gid=git-diff
alias giD='git diff --no-ext-diff --cached --word-diff' alias giD='git diff --no-ext-diff --cached --word-diff'
compdef _git giD=git-diff compdef _git giD=git-diff
alias gir='git reset' alias gir='git reset --mixed'
compdef _git gir=git-reset compdef _git gir=git-reset
alias giR='git reset --mixed' alias giR='git reset --keep'
compdef _git giR=git-reset compdef _git giR=git-reset
alias gix='git rm -r --cached' alias gix='git rm -r --cached'
compdef _git gix=git-rm compdef _git gix=git-rm