From 45571bfa03934359a49f7043cbcf50abccdf448c Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Wed, 8 Feb 2023 11:35:48 +0100 Subject: [PATCH] fix(git): `gpristine` requires two `--force` flags Fixes #11483 --- plugins/git/git.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 7541ccff2..70e6b4439 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -104,7 +104,7 @@ compdef _git gccd=git-clone alias gcl='git clone --recurse-submodules' 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 gcd='git checkout $(git_develop_branch)' alias gcmsg='git commit --message'