diff --git a/modules/git/README.md b/modules/git/README.md index 7f9c834..ed2890b 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -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. diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index 8a2771b..977eaac 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -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'