mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
git: make the gpristine alias remove untracked git repos (#8697)
This commit is contained in:
parent
bbe54e4e60
commit
831089a375
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ plugins=(... git)
|
||||||
| gcf | git config --list |
|
| gcf | git config --list |
|
||||||
| gcl | git clone --recurse-submodules |
|
| gcl | git clone --recurse-submodules |
|
||||||
| gclean | git clean -id |
|
| gclean | git clean -id |
|
||||||
| gpristine | git reset --hard && git clean -dfx |
|
| gpristine | git reset --hard && git clean -dffx |
|
||||||
| gcm | git checkout master |
|
| gcm | git checkout master |
|
||||||
| gcd | git checkout develop |
|
| gcd | git checkout develop |
|
||||||
| gcmsg | git commit -m |
|
| gcmsg | git commit -m |
|
||||||
|
|
|
@ -66,7 +66,7 @@ alias gcb='git checkout -b'
|
||||||
alias gcf='git config --list'
|
alias gcf='git config --list'
|
||||||
alias gcl='git clone --recurse-submodules'
|
alias gcl='git clone --recurse-submodules'
|
||||||
alias gclean='git clean -id'
|
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 gcm='git checkout master'
|
||||||
alias gcd='git checkout develop'
|
alias gcd='git checkout develop'
|
||||||
alias gcmsg='git commit -m'
|
alias gcmsg='git commit -m'
|
||||||
|
|
Loading…
Reference in a new issue