Happy Sunday, here is the idea for today. Suppose we have a large project which will be spread across repositories and want to show them all in a repo along with new repository content. Literally we need to link other repository or as submodule.
How do we do this ?
We can use the submodule for this with have three step approach .
- Get the link of the repo
- Add it to the current repo (add module)
- Fire git commands init and update
Run the following command on console for add the repo as submodule.
git submodule add <url of the repo> git submodule init git submodule update
Here is my example .
You also like the following ideas too
- Automate TestPYPI upload of python packages with GitHub workflow - Upload Python Packages to Testpypi repository with Github Workflows
- How to host webpages on github for free - How to host your web project on GitHub for free