ardupilot/Tools/gittools/submodule-sync.sh

13 lines
373 B
Bash
Raw Normal View History

2021-11-02 04:36:19 -03:00
#!/bin/sh
# this copes with moving origin remote to a new git organisation
# we run it 3 times due to the poor handling of recursion
git submodule update --recursive --force --init
git submodule sync --recursive
git submodule update --recursive --force --init
git submodule sync --recursive
git submodule update --recursive --force --init
git submodule sync --recursive