Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I've made two "complimenting" projects. These two projects are stand alone, but are almost designed to be used together. They are both fairly small projects as well. I'm wanting to host the code on GitHub, but I'm not sure if I should use two repositories or one for this. What do you think I should do?

share|improve this question
    
Any chance you can tell us what they are so we can determine how they are related? –  JeffO May 1 '11 at 14:42
    
@Jeff Well, one is basically a view engine, and the other is an ASP.Net routing framework –  Earlz May 1 '11 at 14:44
add comment

2 Answers

up vote 8 down vote accepted

If they are independent, they should be separate repositories. They will likely have different rates of change and you will probably want to create separate releases, etc. You can use git submodules to include one in the other (if appropriate).

share|improve this answer
add comment

If at least one of the projects is usable without the another (and it's not a collection of unittests) then use two. One disadvantage of git is the inability to partially clone repositories. This might not be a problem in the present, but if the project grows big and someone is only interested in one of them, they would have to download the other, too.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.