How to add a git submodule?

To add another git repository as submodule to your main repository, just use this command:

cd repository
git submodule add git:// submodules-dir/bar
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *