git: make the gpristine alias remove untracked git repos (#8697)

This commit is contained in:
Jean-Yves Rivallan 2020-03-03 14:06:40 +01:00 committed by GitHub
parent bbe54e4e60
commit 831089a375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ plugins=(... git)
| gcf | git config --list |
| gcl | git clone --recurse-submodules |
| gclean | git clean -id |
| gpristine | git reset --hard && git clean -dfx |
| gpristine | git reset --hard && git clean -dffx |
| gcm | git checkout master |
| gcd | git checkout develop |
| gcmsg | git commit -m |

View File

@ -66,7 +66,7 @@ alias gcb='git checkout -b'
alias gcf='git config --list'
alias gcl='git clone --recurse-submodules'
alias gclean='git clean -id'
alias gpristine='git reset --hard && git clean -dfx'
alias gpristine='git reset --hard && git clean -dffx'
alias gcm='git checkout master'
alias gcd='git checkout develop'
alias gcmsg='git commit -m'