From ae72b9791c87dc13de51d635664686bdb277475a Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Mon, 21 Feb 2022 20:23:04 +0000 Subject: [PATCH] Update update.sh force update even if overwrite local files --- update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 9a2c05e..23a3d1e 100755 --- a/update.sh +++ b/update.sh @@ -1,3 +1,3 @@ +sudo -H -u pi git fetch --all --force +sudo -H -u pi git reset --hard origin/master sudo -H -u pi git pull origin master --force - -