mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 00:17:59 +00:00
[Fix #360] Set alias giR to reset the index interactively
This commit is contained in:
parent
1d0b0e2e9b
commit
bb6b590919
@ -98,8 +98,8 @@ Aliases
|
|||||||
- `giu` adds file contents to the index (updates only known files).
|
- `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 (diff).
|
||||||
- `giD` displays changes between the index and a named commit (word diff).
|
- `giD` displays changes between the index and a named commit (word diff).
|
||||||
- `gir` resets current HEAD to the specified state.
|
- `gir` resets the current HEAD to the specified state.
|
||||||
- `giR` resets current index 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).
|
||||||
- `giX` removes files/directories from the index (recursively and forced).
|
- `giX` removes files/directories from the index (recursively and forced).
|
||||||
|
|
||||||
|
@ -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'
|
||||||
alias giD='git diff --no-ext-diff --cached --word-diff'
|
alias giD='git diff --no-ext-diff --cached --word-diff'
|
||||||
alias gir='git reset'
|
alias gir='git reset'
|
||||||
alias giR='git reset --keep'
|
alias giR='git reset --patch'
|
||||||
alias gix='git rm -r --cached'
|
alias gix='git rm -r --cached'
|
||||||
alias giX='git rm -rf --cached'
|
alias giX='git rm -rf --cached'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user