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