Update git clean alias to clean directories as well

add -d flag to `gwC`
This commit is contained in:
Amir Nissim 2015-06-16 10:44:09 +03:00
parent 08676a273e
commit 79d490334c
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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'