diff options
Diffstat (limited to '')
-rwxr-xr-x | etc/linux-clean-tree.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/etc/linux-clean-tree.sh b/etc/linux-clean-tree.sh deleted file mode 100755 index 80a858c..0000000 --- a/etc/linux-clean-tree.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -# WARNING: -# -# this script will delete *everything* that is not -# under version control -# - -POSITIONAL=() -CLEAN_ALL=false - -while [[ $# -gt 0 ]]; do - key="$1" - - case $key in - -a|--all) - CLEAN_ALL=true - shift - ;; - *) - POSITIONAL+=("$1") - shift - ;; - esac -done - -if [ "$CLEAN_ALL" = true ]; then - git clean -d -x -f -else - git clean -d -X -f -fi |