Browse Source

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

master
Sorin Ionescu 13 years ago
parent
commit
d4a5bedb48
  1. 4
      plugins/git/alias.zsh

4
plugins/git/alias.zsh

@ -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

Loading…
Cancel
Save