From 5605e9779946ddfb08fac75b1d9d233f13380bce Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Mon, 12 Apr 2021 18:10:08 +0200 Subject: [PATCH] TkgThingy: Deeper cleanup when using choice 3 --- TkgThingy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TkgThingy b/TkgThingy index c8911c7..8858770 100755 --- a/TkgThingy +++ b/TkgThingy @@ -118,7 +118,7 @@ _main_loop() { elif [ "$_choice" == "3" ]; then for _tkg_tools in */; do if [ "$_tkg_tools" != ".git" ]; then - ( cd "$_tkg_tools" && git config pull.rebase false && git reset --hard && git checkout master && git pull origin master ) + ( cd "$_tkg_tools" && git config pull.rebase false && git clean -d -f . && git reset --hard && git checkout master && git pull origin master ) fi done elif [ "$_choice" == "4" ]; then