Thank you for investing your time in contributing to our project! ✨
- To add a submodule with default source branch (develop/main)
For example,
$ git submodule add <repository> <path>
$ git submodule add [email protected]:nimblehq/android-templates.git android
- To add a submodule with a specific source branch
For example,
$ git submodule add -b <branch> <repository> <path>
$ git submodule add -b feature/kmm-support-upgrade-to-gradle-8 [email protected]:nimblehq/android-templates.git android
- To remove a submodule
Also, remove the cached repository of the submodule at
$ git rm android
.git/modules/
if nescessary.