Git Submodule Manager
v1.0.3Generate command references for adding and maintaining git submodules.
Generates command references for adding, updating, removing, and maintaining git submodules — with the correct syntax for add, update --init, sync, and foreach patterns.
How to use- →Select the submodule operation you need from the categorised list.
- →Enter the submodule repository URL and local path if required.
- →Copy the generated command to run in your repository's root directory.
Submodule commands
# Add a new submodule git submodule add https://github.com/org/lib.git vendor/lib # Commit the .gitmodules and submodule pointer git add .gitmodules vendor/lib git commit -m "chore: add submodule vendor/lib"