Maj auto 18/05/2025 0830
This commit is contained in:
23
Scripts/push_auto.bat
Normal file
23
Scripts/push_auto.bat
Normal file
@@ -0,0 +1,23 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user