TkgThingy: Deeper cleanup when using choice 3

frogging-family
Tk-Glitch 2021-04-12 18:10:08 +07:00
parent 2ae2ff2fcc
commit 5605e97799
1 changed files with 1 additions and 1 deletions

@ -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