forked from OpenWF/SpaceNinjaServer
chore: do 'git stash' before hard reset
Just in case the user made local changes and then runs the bat we don't wanna have it be irrecoverably lost.
This commit is contained in:
parent
aa12708738
commit
c3d7ae33c2
@ -3,6 +3,7 @@
|
||||
echo Updating SpaceNinjaServer...
|
||||
git config remote.origin.url https://openwf.io/SpaceNinjaServer.git
|
||||
git fetch --prune
|
||||
git stash
|
||||
git reset --hard origin/main
|
||||
|
||||
if exist static\data\0\ (
|
||||
|
Loading…
x
Reference in New Issue
Block a user