Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/gittools/submodule-sync.sh
9451 views
1
#!/bin/sh
2
3
# this copes with moving origin remote to a new git organisation
4
# we run it 3 times due to the poor handling of recursion
5
git submodule update --recursive --force --init
6
git submodule sync --recursive
7
8
git submodule update --recursive --force --init
9
git submodule sync --recursive
10
11
git submodule update --recursive --force --init
12
git submodule sync --recursive
13
14