mirror of
https://github.com/dcarrillo/prezto.git
synced 2026-04-19 04:24:04 +00:00
git: update git clean alias to clean directories as well
This commit is contained in:
committed by
Indrajit Raychaudhuri
parent
44cece01b2
commit
7c6b8a29cf
@@ -318,7 +318,7 @@ zstyle ':prezto:module:git:alias' skip 'yes'
|
|||||||
index nor the working tree.
|
index nor the working tree.
|
||||||
- `gwR` resets the current HEAD, index and working tree to the specified state.
|
- `gwR` resets the current HEAD, index and working tree to the specified state.
|
||||||
- `gwc` removes untracked files from the working tree (dry-run).
|
- `gwc` removes untracked files from the working tree (dry-run).
|
||||||
- `gwC` removes untracked files from the working tree.
|
- `gwC` removes untracked files and directories from the working tree.
|
||||||
- `gwx` removes files from the working tree and from the index recursively.
|
- `gwx` removes files from the working tree and from the index recursively.
|
||||||
- `gwX` removes files from the working tree and from the index recursively and
|
- `gwX` removes files from the working tree and from the index recursively and
|
||||||
forcefully.
|
forcefully.
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip; then
|
|||||||
alias gwr='git reset --soft'
|
alias gwr='git reset --soft'
|
||||||
alias gwR='git reset --hard'
|
alias gwR='git reset --hard'
|
||||||
alias gwc='git clean --dry-run'
|
alias gwc='git clean --dry-run'
|
||||||
alias gwC='git clean --force'
|
alias gwC='git clean -d --force'
|
||||||
alias gwx='git rm -r'
|
alias gwx='git rm -r'
|
||||||
alias gwX='git rm -r --force'
|
alias gwX='git rm -r --force'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user