fintic-tracker/update.sh
Neythen Treloar ae72b9791c
Update update.sh
force update even if overwrite local files
2022-02-21 20:23:04 +00:00

4 lines
128 B
Bash
Executable File

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