git merge different repositories?

Posted by baloo on Stack Overflow See other posts from Stack Overflow or by baloo
Published on 2010-06-01T12:33:47Z Indexed on 2010/06/01 12:53 UTC
Read the original article Hit count: 199

Filed under:
|

I've been using SVN for all my projects. Sometimes project B is originating as a copy from project A. When project A has a generic change, I can use svn merge A within directory B and it will merge those changes.

Now, if I wanted to use git. I don't like having all my projects in the same repository since I then have to clone everything and can't pick just one project like in SVN. But having one repository for each project, how do I go about doing the same like I did earlier with SVN?

The question is: What's the best way to structure it if I want several subprojects that really all relates to one original project and to keep them in sync? And that I also want to be able to check them out separately

© Stack Overflow or respective owner

Related posts about git

Related posts about git-svn