开发者

GitHub solution for personal repo

So I've got my private SVN repo on my home server, and it has maybe 30 different modules thrown together in it, ranging from abortive throw-away larks to a few endeavors that might actually go somewhere someday. But a recent filesystem failure (BTW, never ever EVER use XFS without a battery-backed hardware RAID) has me spooked and thinking of using a DVCS for all that. I've also just had quite the swig of the Git koolaid, and I've been working with GitHub of late, so that's where I'm looking right now.

Of course, it would be silly to shell out major cash for a separate private Git repo for every little project, and I don't want to have to be selective about what I throw up there (I love all my children :-D ), so I'll have to be somewhat creative about this. I can happily use SSH to my home box to use Git the way I've开发者_开发百科 been using SVN, and I'm thinking from there I could amalgamate everything into, say, a big project with 30 submodules, which I then push to GitHub. What'd be a sane way to set this up? Does using submodules sound feasible? How do I sync it all to my private GitHub repo? Cron job? Git hook? I'd love to hear it if anyone's done something similar.

I'm not really married to Git or GitHub, so a sufficiently compelling feature of another solution might sway me. But if your answer does involve a different system (especially a different VCS), be advised it'll be a tougher sell :-)


Bitbucket now supports Git repositories, and it lets you store private repositories for free.


You can use Dropbox to store personal git repos. They give you 2GB of space for free and have plans that go way up from there. That way you can have repos for each project and it's automatically backed up in the event that your local drive crashes.

I answered another question on how to set up git and dropbox, which should get you started.


For the same price or less than a GitHub plan, you could get a web host or even a virtual private server and run your own source control system with unlimited repositories.


Do you need to have your repositories hosted? Why? If what you want is to back up your repositories then you can also use, say, a simple USB thumbdrive. All you need to do is create a bare repository on the device for each of your repositories, add a remote for each of your repositories, and push.

A 1Gb thumbdrive is probably well more than what you need. That's less than 10 dollars. It should take you less than 5 minutes to bang out the Bash script to push the repositories. If one hour of your time costs $64 then the script will cost you just over 5 dollars. All in all, less than $20: surely not "major cash". :p


http://www.assembla.com provides free private git/svn/hg repositories. There is no limit on the number of users (bitbucket has a limit of 5 users). AFAIK, the only limit is 1 GB space for the free account. Also, free accounts don't have tools such as ticket management, wiki, etc (but you certainly don't need those).


More recently there's this option gitlab

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜