Merge pull request #584 from grindhold/fix-583

fixes #583
This commit is contained in:
罗泽轩 2016-09-24 11:06:15 +08:00 committed by GitHub
commit 5c11295852

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