github linking with other repos

user391986 picture user391986 · Feb 20, 2012 · Viewed 88.2k times · Source

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?

Answer

manojlds picture manojlds · Feb 20, 2012

You can use git submodules to "link" to other projects. See here - http://help.github.com/submodules/