ardupilot/Tools/gittools/submodule-sync.sh
Andrew Tridgell 8f90d6f83f git: added a easy script for fixing submodule issues
this fixes the DSDL DroneCAN issue. Run
Tools/gittools/submodule-sync.sh
2021-10-23 21:32:48 +11:00

7 lines
203 B
Bash
Executable File

#!/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