esameits24-26backend/commit-push.bat
AV77web 3cefb1b407
All checks were successful
Deploy to VPS / build (push) Successful in 16s
Deploy to VPS / deploy (push) Successful in 17s
modifica a dati
2026-07-13 23:47:33 +02:00

15 lines
No EOL
328 B
Batchfile

@echo off
cd /d D:\prenotazioni\esameits24-26\esameits24-26backend
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