Skip to content

Commit

Permalink
[Fix sorin-ionescu#360] Set alias giR to reset the index interactively
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu authored and linuslundahl committed Oct 17, 2013
1 parent a3ff078 commit d777e5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/git/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ Aliases
- `giu` adds file contents to the index (updates only known files).
- `gid` displays changes between the index and a named commit (diff).
- `giD` displays changes between the index and a named commit (word diff).
- `gir` resets current HEAD to the specified state.
- `giR` resets current index to the specified state.
- `gir` resets the current HEAD to the specified state.
- `giR` resets the current index interactively.
- `gix` removes files/directories from the index (recursively).
- `giX` removes files/directories from the index (recursively and forced).

Expand Down
2 changes: 1 addition & 1 deletion modules/git/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ alias giu='git add --update'
alias gid='git diff --no-ext-diff --cached'
alias giD='git diff --no-ext-diff --cached --word-diff'
alias gir='git reset'
alias giR='git reset --keep'
alias giR='git reset --patch'
alias gix='git rm -r --cached'
alias giX='git rm -rf --cached'

Expand Down

0 comments on commit d777e5f

Please sign in to comment.