diff --git a/bin/git-clear b/bin/git-clear new file mode 100755 index 0000000..9f081b0 --- /dev/null +++ b/bin/git-clear @@ -0,0 +1,5 @@ +echo "Sure? [Y/n]" +read ans +if [ "$ans" != "n" ] + then git ls-files --others --exclude-standard | xargs rm ; git reset --hard +fi