views:

234

answers:

5

I want to use version control for a partner project for school, but these days it seems like there are no private, free VCS hosts that I could use. I would prefer to use git if possible, but I wouldn't mind SVN. Alternatively, if there aren't any, shouldn't there be some way for me to use git without a central repository? I don't know enough about git, but I assume that is the point of a DVCS, no? I've considered scp'ing a clone of the repository to my school unix account and then giving my partner access to that, but it seems like it would be a bit of a pain. What are your thoughts/suggestions?

Edit: I do know of one site called xp-dev, but I'm not sure how much I trust it. But I could use that and use git-svn on my side, since my partner has actually only ever used svn. But still wondering if there are any alternatives.

+2  A: 

git is the simplest solution. If you can scp to your school account, you can push to a bare repo there, and have your friend push and pull from there. Depending on your needs, it might be sufficient for you and your partner to run git-daemon and pull from each-other; this is often how I work in the absence of a central host.

Julian Squires
Thanks, I had done the bare repo thing for myself more or less and I think I'll probably end up doing that in this case as well; the only problem is I first need to teach my partner how to use git, and I don't know it very well myself. But it's probably a good time to learn. The only problem with running git-daemon is that a) both of us run Windows, although I use mingw/msys extensively and we are both pretty good with *nix overall, and b) we'd have to send each other ip addresses every time they cahnge? But I suppose that's not too much of a hassle.
Ibrahim
A: 

I'm presuming you're in a college of some kind - don't hey offer some computing resources that you could utilize to host a git repository? Indeed, as you say, one of the benefits of DCVS is to not need a hosted repository. Why not just host it on your own desktop machine, if you don't have access to other resources?

Ben Collins
They do, but I'm not sure if they have git installed. I've been meaning to get an account with the group that provides some hosting resources for a while, but I keep forgetting. Thanks for reminding me!
Ibrahim
+1  A: 

I've had good luck with Unfuddle

They seem to provide both git and svn access, and looks like this is what you were asking for.

Brian
Oh cool! I had looked at unfuddle before but for some reason didn't like it, but it seems like it will work fine. I think previously their storage limit might have been really small on the free plan? And for some reason I thought it didn't let you have multiple users on one project, but two is all I need so it should be fine. Thanks again!
Ibrahim
A: 

Either:

  • Your University/College/School offers such service
  • Settle for a google code project (it forces it to be open to public, but in most scenarios this should be ok, I mean who cares?)

I asked a similar question before, and in the end went with google code. Our school did offer a hosting service but they were slow and didn't give it to us in time, so ...

hasen j
Yeah, if you don't want it to be found, just add some random, archaic tags. No one will actually find it, and if they do, they problem won't download it.
DMan