diff --git a/modules/git/README.md b/modules/git/README.md index c2d0449c..fcc5cbe7 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -203,7 +203,7 @@ Aliases 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 ffa854dd..6c8d06b8 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -176,6 +176,6 @@ alias gwD='git diff --no-ext-diff --word-diff' alias gwr='git reset --soft' alias gwR='git reset --hard' alias gwc='git clean -n' -alias gwC='git clean -f' +alias gwC='git clean -df' alias gwx='git rm -r' alias gwX='git rm -rf'