
| Current Path : /home/cgabriel/10_company_xx/43_rocksensor/ |
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/43_rocksensor/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/43_rocksensor/10_accounting/01.git 10_accounting git clone https://$USER:$PASS@git.ift-intern.de/repos/10_company/43_rocksensor/10_accounting/01.git 10_accounting cd 10_accounting call ..\10_accounting\sync.bat %USER% %PASS% bash ../10_accounting/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