mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
made more precise security-question.
This commit is contained in:
parent
dae38840f9
commit
a66c9446b5
|
|
@ -1,4 +1,4 @@
|
|||
echo "Sure? [Y/n]"
|
||||
echo "Sure? - This command may delete files that cannot be recovered. [Y/n]"
|
||||
read ans
|
||||
if [ "$ans" != "n" ]
|
||||
then git clean -d -f -x && git reset --hard
|
||||
|
|
|
|||
Loading…
Reference in a new issue