Files
Mapo-IOB-WIN/gitSpread.bat
T
Samuele E. Locatelli 00210e8d4e fix script
2020-10-08 18:58:58 +02:00

22 lines
766 B
Batchfile

REM Script di replica su altri rami di un branch git
ECHO off
set baseBranch=%1
set pushRemote=%2
git push . %baseBranch%:develop
git push . %baseBranch%:IOB-NET
git push . %baseBranch%:IOB/Euromap63
git push . %baseBranch%:IOB/MTC
git push . %baseBranch%:IobMan
git push . %baseBranch%:master
if "%pushRemote%" == "y" ( git push gitlab.steamware %baseBranch%:develop )
if "%pushRemote%" == "y" ( git push gitlab.steamware %baseBranch%:IOB-NET )
if "%pushRemote%" == "y" ( git push gitlab.steamware %baseBranch%:IOB/Euromap63 )
if "%pushRemote%" == "y" ( git push gitlab.steamware %baseBranch%:IOB/MTC )
if "%pushRemote%" == "y" ( git push gitlab.steamware %baseBranch%:IobMan )
if "%pushRemote%" == "y" ( git push gitlab.steamware %baseBranch%:master )
ECHO on