git: added a easy script for fixing submodule issues

this fixes the DSDL DroneCAN issue. Run
Tools/gittools/submodule-sync.sh
This commit is contained in:
Andrew Tridgell 2021-10-23 21:31:46 +11:00
parent 1047b7e1ba
commit 8f90d6f83f
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/sh
# this copes with moving origin remote to a new git organisation
git submodule update --recursive --force --init
git submodule sync --recursive
git submodule update --recursive --force --init