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?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
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).
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.