Unverified Commit 831089a3 authored by Jean-Yves Rivallan's avatar Jean-Yves Rivallan Committed by GitHub
Browse files

git: make the gpristine alias remove untracked git repos (#8697)

parent bbe54e4e
...@@ -45,7 +45,7 @@ plugins=(... git) ...@@ -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' ...@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment