1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00

fix(git): gpristine requires two --force flags

Fixes #11483
This commit is contained in:
Carlo Sala 2023-02-08 11:35:48 +01:00
parent 87f1941d27
commit 45571bfa03
No known key found for this signature in database
GPG key ID: DA6FB450C1A4FE9A

View file

@ -104,7 +104,7 @@ compdef _git gccd=git-clone
alias gcl='git clone --recurse-submodules' alias gcl='git clone --recurse-submodules'
alias gclean='git clean --interactive -d' alias gclean='git clean --interactive -d'
alias gpristine='git reset --hard && git clean --force -dx' alias gpristine='git reset --hard && git clean --force -dfx'
alias gcm='git checkout $(git_main_branch)' alias gcm='git checkout $(git_main_branch)'
alias gcd='git checkout $(git_develop_branch)' alias gcd='git checkout $(git_develop_branch)'
alias gcmsg='git commit --message' alias gcmsg='git commit --message'