ardupilot/Tools/gittools/submodule-sync.sh

13 lines
373 B
Bash
Raw Normal View History

#!/bin/sh
# this copes with moving origin remote to a new git organisation
2021-10-26 16:24:32 -03:00
# we run it 3 times due to the poor handling of recursion
git submodule update --recursive --force --init
git submodule sync --recursive
2021-10-26 16:24:32 -03:00
git submodule update --recursive --force --init
2021-10-26 16:24:32 -03:00
git submodule sync --recursive
git submodule update --recursive --force --init
git submodule sync --recursive