Hacker News new | ask | show | jobs
by eliben 5389 days ago
Out of curiosity, why don't you keep several repos in a single repo as sub-directories? AFAICT, this should work quite well if the work done on those directories is unrelated to other work. Yes, there will be more revisions but merges shouldn't be more difficult because work is done on different parts.
2 comments

This is intended usage in svn, but it just feels so very very wrong in git. If I want to transfer a project to someone else, I want to be able to give them the whole history. Granted, I'm sure there's some relatively easy way to replay a subdirectories commits to a new repo (with all the sha1s changed obviously), but I would prefer to actually pay Github more money, or else just use some other hosting rather than do something like this.
Exactly what I was thinking, but this'd kill the convenience of GitHub anyway.