forked from extern/ohmyzsh
git: make the gpristine alias remove untracked git repos (#8697)
This commit is contained in:
parent
bbe54e4e60
commit
831089a375
@ -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 |
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user