Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 367
user391986 Avatar asked Feb 20 '12 07:02

user391986


People also ask

How do I link a Git repo to another repo?

To do this, run the git subtree add command. This command will embed the master branch of Tim Pope's VIM-sensible in your dotfiles. Also note that you used the --squash flag to compress the history. You can run this command several times to embed multiple repositories.

How do I link repositories?

On the top-right side of the classic project, click Menu. Click , then click Settings. In the left sidebar, click Linked repositories. Click Link a repository.


1 Answers

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

like image 191
manojlds Avatar answered Sep 28 '22 01:09

manojlds