Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 :-)

like image 259
Luke Maurer Avatar asked Jun 06 '10 04:06

Luke Maurer


People also ask

Can I use GitHub for personal projects?

GitHub Issues is a core component of how developers get things done and, as we built more project planning capabilities into GitHub, we've found some fun and unique ways to use the new projects experience for personal productivity.

Can you use GitHub Actions on a private repo?

Private GitHub Actions templates for your organization After many years of using Jenkins, we decided to migrate over to GitHub Actions, where we ran into some challenges. So, we developed a workaround that allows non-Enterprise GitHub users with private repos to update their workflow templates.

Can you publish private repo GitHub?

You can publish packages in a public repository (public packages) to share with all of GitHub, or in a private repository (private packages) to share with collaborators or an organization. A repository can be connected to more than one package.


2 Answers

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

like image 180
compman Avatar answered Sep 28 '22 02:09

compman


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.

like image 33
Dan McNevin Avatar answered Sep 28 '22 00:09

Dan McNevin