aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patches/uninstall.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/patches/uninstall.sh b/patches/uninstall.sh
index 53264d4..4410174 100644
--- a/patches/uninstall.sh
+++ b/patches/uninstall.sh
@@ -10,10 +10,9 @@ for dir in $dirs ; do
cd $rootdirectory
cd $dir
echo -e "\n Cleaning $dir patches...\n"
- git reset --hard && git clean -df
+ git checkout -- . && git clean -df
done
# -----------------------------------
echo -e "Done !\n"
cd $rootdirectory
-