2020-02-21 19:07:22 +01:00
|
|
|
@echo off
|
|
|
|
rem Get the submodule initially
|
2019-10-01 18:08:48 +02:00
|
|
|
@git submodule update --init
|
2020-02-21 19:07:22 +01:00
|
|
|
@git submodule update
|
|
|
|
|
|
|
|
rem Time passes, submodule upstream is updated
|
|
|
|
rem and you now want to update
|
|
|
|
|
2022-02-10 12:26:22 +01:00
|
|
|
echo Update Delphi-FFMPEG
|
2020-02-21 19:07:22 +01:00
|
|
|
rem Change to the submodule directory
|
|
|
|
cd Delphi-FFMPEG
|
2022-02-10 12:26:22 +01:00
|
|
|
rem Checkout desired branch
|
|
|
|
git checkout master
|
2020-02-21 19:07:22 +01:00
|
|
|
|
2022-02-10 12:26:22 +01:00
|
|
|
rem Get back to your project root
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
echo JEDI
|
|
|
|
rem Change to the submodule directory
|
|
|
|
cd jedi
|
2020-02-21 19:07:22 +01:00
|
|
|
rem Checkout desired branch
|
|
|
|
git checkout master
|
|
|
|
|
|
|
|
rem Update
|
|
|
|
git pull
|
|
|
|
|
|
|
|
rem Get back to your project root
|
|
|
|
cd ..
|