Skip to content

Commit

Permalink
fixes #583
Browse files Browse the repository at this point in the history
put default option in security-answer to 'no'
  • Loading branch information
grindhold committed Sep 23, 2016
1 parent 8e15d42 commit 6d49449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/git-clear
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6d49449

Please sign in to comment.