
| Current Path : /home/cgabriel/10_company_xx/25_ift/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //home/cgabriel/10_company_xx/25_ift/sync.bat |
USER=$1 PASS=$2 set USER=%1 set PASS=%2 #================================================================= PWD0=$PWD set PWD0=%cd% git clone https://%USER:%PASS@git.ift-intern.de/repos/10_company/SUBREPO/01.git SUBREPO git clone https://$USER:$PASS@git.ift-intern.de/repos/10_company/SUBREPO/01.git SUBREPO cd SUBREPO call ..\SUBREPO\sync.bat %USER% %PASS% bash ../SUBREPO/sync.bat $USER $PASS cd $PWD0 cd %PWD0% #================================================================== PWD0=$PWD set PWD0=%cd% git clone https://%USER:%PASS@git.ift-intern.de/repos/10_company/25_ift/20_office/01.git 20_office git clone https://$USER:$PASS@git.ift-intern.de/repos/10_company/25_ift/20_office/01.git 20_office cd 20_office call ..\20_office\sync.bat %USER% %PASS% bash ../20_office/sync.bat $USER $PASS cd $PWD0 cd %PWD0% PWD0=$PWD set PWD0=%cd% git clone https://%USER:%PASS@git.ift-intern.de/repos/10_company/25_ift/33_hr/01.git 33_hr git clone https://$USER:$PASS@git.ift-intern.de/repos/10_company/25_ift/33_hr/01.git 33_hr cd 33_hr call ..\33_hr\sync.bat %USER% %PASS% bash ../33_hr/sync.bat $USER $PASS cd $PWD0 cd %PWD0% PWD0=$PWD set PWD0=%cd% git clone https://%USER:%PASS@git.ift-intern.de/repos/10_company/25_ift/70_website/01.git 70_website git clone https://$USER:$PASS@git.ift-intern.de/repos/10_company/25_ift/70_website/01.git 70_website cd 70_website call ..\70_website\sync.bat %USER% %PASS% bash ../70_website/sync.bat $USER $PASS cd $PWD0 cd %PWD0% #================================================================== echo "" echo "SUBMODULE ----> $PWD <---- " echo "SUBMODULE ----> %PWD% <---- " git add --all . git commit -m sync_bat -a git pull --no-edit --prune origin git pull --tags --prune origin git add --all . git commit -m automatic_merge_after_pull -a git push -u origin HEAD git push --tags origin echo "" echo "$PWD =======================" echo "" # exit