Add:
1 |
git submodule add <url, e.g. ssh://git@example.com/abs/path/repository/example.git> local_path |
Update to latest
Update a submodule to the latest commit
1 2 |
git add projB/projA git commit -m "projA submodule updated" |