An open API service indexing awesome lists of open source software.

https://github.com/andy-leo10/submodules_practice


https://github.com/andy-leo10/submodules_practice

git-submodules

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

          

# submodules_practice

After cloning your repo on your local PC, add the submodules with:

git submodule add https://github.com/yourusername/myrepo.git

To update with the content all the submodules use inside root:

git submodule init
git submodule update

When changes were made to a submodule do this setup first:

git checkout main

Then inside any Repo use it as usual

---

Then for new updates use:

git submodule update --remote

For manual push use:

git push origin main