magricambi/commit-push.bat
Andre Villari 7c44e04656
Some checks failed
Deploy to VPS / build (push) Failing after 23m3s
Deploy to VPS / deploy (push) Has been cancelled
mdifiche a file deploy.yml e commit-push.bat
2026-10-08 13:29:42 +02:00

15 lines
No EOL
291 B
Batchfile

@echo-off
cd /d D:\magricambi
git status
echo.
set /p MSG=Messaggio commit:
if "%MSG%"=="" (
echo Messaggio obbligatorio.
exit /b 1
)
git add .
git status
set /p OK="Procedere con commit e push?" (s/N):
if /i not "%OK%" == "s" exit /b 0
git commit -m "%MSG%"
git push -u origin main