put default option in security-answer to 'no'
This commit is contained in:
grindhold 2016-09-23 22:38:27 +02:00
parent 8e15d4245d
commit 6d49449a4d

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
echo "Sure? - This command may delete files that cannot be recovered, including those in .gitignore [Y/n]"
echo "Sure? - This command may delete files that cannot be recovered, including those in .gitignore [y/N]"
read ans
if [ "$ans" != "n" ]
if [ "$ans" == "y" ]
then git clean -d -f -x && git reset --hard
fi