1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2026-04-18 13:24:04 +00:00

git: update git clean alias to clean directories as well

This commit is contained in:
Amir Nissim
2015-06-16 10:44:09 +03:00
committed by Indrajit Raychaudhuri
parent 44cece01b2
commit 7c6b8a29cf
2 changed files with 2 additions and 2 deletions

View File

@@ -318,7 +318,7 @@ zstyle ':prezto:module:git:alias' skip 'yes'
index nor the working tree.
- `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.
- `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 and
forcefully.

View File

@@ -269,7 +269,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip; then
alias gwr='git reset --soft'
alias gwR='git reset --hard'
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 --force'