From 3ebf68667ccae36249d566cee591c133ba5fd74a Mon Sep 17 00:00:00 2001 From: Oliver Boehlk Date: Sat, 18 Apr 2020 02:38:20 +0200 Subject: [PATCH] reset files in update process --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index 01ac4d7..6618e17 100755 --- a/update.sh +++ b/update.sh @@ -1,5 +1,6 @@ BACKENDID = netstat -tulpn 2>/dev/null | grep ":3001 " | awk '{print $7;}' | cut -d "/" -f1 kill -9 $BACKENDID +git reset HEAD --hard git pull cd backend rm -r ./frontend