Search code examples
gitgithubgitorious

github linking with other repos


I have a project that relies on two repos in github to function. When I submit my project to github how do I link to these two repos? Should I duplicate the files in my own repo or link to the other repo at a specific revision as I don't want it to update and cause incompatibility. I already created my github repo what should I do?


Solution

  • You can use git submodules to "link" to other projects.

    See here - https://github.blog/2016-02-01-working-with-submodules/