MAC
2025-11-10 5346678dbc2df8bacb28a2836332afd64deaaf4e
Cocoon.bat
@@ -1,18 +1,15 @@
git pull
git add .
echo.
git commit -m[update]
echo.
git push
echo.
echo Cocoon Pushed!
echo.
@echo off
echo $ ssh root@47.242.52.97
echo $ cd /website/Cocoon
echo $ git pull
echo $ exit
echo.
echo [cocoon] Close the local work
echo.
echo [tips] ssh-cd-git-exit
echo.
ssh root@47.242.52.97
echo.
echo Cocoon Pulled!
echo [cocoon] Close the server work
echo.
pause