espressif / idf-env

idf-env tool helps set up and manage ESP-IDF installations
29 stars 4 forks source link

Need to run `git submodule sync` when modifying/upgrading/downgrading an existing copy of IDF #51

Open igrr opened 1 year ago

igrr commented 1 year ago

IDF project will change some of the submodule URLs in .gitmodules file. Because of this, git submodule update may fail if the old submodule URL doesn't contain the new commit (and vice versa). To mitigate this, we should also sync submodule URLs after doing git checkout, using git submodule sync command.