Files
Mapo-IOB-WIN/gitSpread.bat
T
2020-10-09 08:54:38 +02:00

24 lines
870 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
REM Faccio SEMPRE push remoto di branch di partenza
git push gitlab.steamware %baseBranch%:%baseBranch%
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