Files
Inventaire-gestion/Scripts/push_auto.bat
2025-05-18 08:30:52 +02:00

24 lines
409 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
:: Script Git automatique pour Ratio_Inventairesn
cd /d %~dp0
:: Affiche létat
git status
:: Ajoute tous les fichiers
git add .
:: Message de commit avec date et heure
set hh=%time:~0,2%
if "%hh:~0,1%"==" " set hh=0%hh:~1%
set commitmsg=Maj auto %date% %hh%%time:~3,2%
git commit -m "%commitmsg%"
:: Push vers origin master
git push origin master
echo.
echo ===== PUSH TERMINE =====
pause