diff --git a/.gitignore b/.gitignore index 04303b4..764a8a6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,5 @@ __pycache__/ *.pyc *.log .DS_Store - # Ignorer tous les fichiers de travail dans Excel/dev Excel/dev/* \ No newline at end of file diff --git a/Excel/prod/Ratio_prod.xlsm b/Excel/prod/Ratio_prod.xlsm new file mode 100644 index 0000000..2170e33 Binary files /dev/null and b/Excel/prod/Ratio_prod.xlsm differ diff --git a/Scripts/push_auto.bat b/Scripts/push_auto.bat index d706441..7c272e5 100644 --- a/Scripts/push_auto.bat +++ b/Scripts/push_auto.bat @@ -1,13 +1,16 @@ @echo off -:: Script Git automatique pour Ratio_Inventairesn +:: Script Git automatique pour Ratio_Inventaires cd /d %~dp0 :: Affiche l’état git status -:: Ajoute tous les fichiers -git add . +:: Supprime les fichiers supprimés (au cas où) +git add -u + +:: Ajoute uniquement les fichiers non ignorés (hors Excel/dev) +git add --all -- :!Excel/dev/* :: Message de commit avec date et heure set hh=%time:~0,2%