diff options
author | Jean-Yves Rivallan <jeanyves.rivallan@gmail.com> | 2020-03-03 14:06:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 14:06:40 +0100 |
commit | 831089a3757ed08170c7e7687eb3e0377f286d82 (patch) | |
tree | 9a72127defedff5e1e3aa1a2dd4a26c06e79c383 | |
parent | bbe54e4e6009dcbb69a4ace22ddae3672b323fdc (diff) | |
download | zsh-831089a3757ed08170c7e7687eb3e0377f286d82.tar.gz zsh-831089a3757ed08170c7e7687eb3e0377f286d82.tar.bz2 zsh-831089a3757ed08170c7e7687eb3e0377f286d82.zip |
git: make the gpristine alias remove untracked git repos (#8697)
-rw-r--r-- | plugins/git/README.md | 2 | ||||
-rw-r--r-- | 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' |