views:

68

answers:

2

I have a local file SVN repo of a project that needs to move to GitHub. I know from what I've read on the GitHub site and a related question here on stack-overflow that it's a simple matter to move the repo from an SVN server into the GitHub repo.

But my problem is that I have a local file repository. What is the recommended way of moving this type of repository to GitHub?



Update:

As far as I can tell there is no direct way of moving the local file repository over to git. The easiest solution would be to move the repository over to an open SVN host like Google, then use the GitHub service application to clone from SVN. However, I don't have that option because I'm not allowed to make the code public (it's not my code).

So what I'm going to try to do is to:

  1. Set up a proper SVN server on a local machine.
  2. Create a new repository on that machine.
  3. Dump my file:// repository and port that to repository on the server.
  4. Clone from from the new SVN repository to a local machine.
  5. Finally push that back to GitHub.

The caveat is that I'm behind a firewall.

A: 

There are plenty of docs on github.com that explain what your options are.

At worst, you publish your local repository somewhere publicly visible and let github slurp it up.

Andy Lester
I couldn't find anything on the site that mentions svn file repositories, just server stuff.
DKinzer
A: 
DKinzer