Explorar el Código

fix: git commands in update.sh

Cat hace 3 años
padre
commit
02d3bcd059
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -3,8 +3,8 @@
 [ $(id -u) != "0" ] && { echo "Error: You must be root to run this script!"; exit 1; }
 
 do_upgrade_sspanel(){
-    git reset --hard origin/dev
     git pull
+    git reset --hard origin/dev
     git fetch --prune --prune-tags
     rm -r storage/framework/smarty/compile/*
     php composer.phar update