From 831089a3757ed08170c7e7687eb3e0377f286d82 Mon Sep 17 00:00:00 2001 From: Jean-Yves Rivallan Date: Tue, 3 Mar 2020 14:06:40 +0100 Subject: [PATCH] git: make the gpristine alias remove untracked git repos (#8697) --- plugins/git/README.md | 2 +- plugins/git/git.plugin.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/git/README.md b/plugins/git/README.md index 009a74016..4799b1cdd 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -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 | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index ffb3e506a..3ff5b1f5a 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -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'