reset files in update process

This commit is contained in:
2020-04-18 02:38:20 +02:00
parent 20b2452815
commit 3ebf68667c

View File

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