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