git project vs repository, what's the fundamental difference?

zcourts picture zcourts · Feb 18, 2011 · Viewed 26.2k times · Source

I have two projects that currently use SVN and I'm migrating to git, I signed up to gitorious and there's the option to create a new project or add a repository. I'm just starting out with git so I don't know what the difference is, or rather what it means if I simply use to repositories under one project. If i do that I'll end up with theirDomain.com/myname/repository1 and theirDomain.com/myname/repository2

If I choose to create two projects then I end up with theirDomain.com/project1 theirDomain.com/project2

Apart from the URL difference, will there be any implications in choosing one over the other? thanks in advance

Answer

Marc Hughes picture Marc Hughes · Feb 18, 2011

That is a gitorious, not a git thing. You can have multiple repositories per project.

For instance, if you have a client/server application. You could have one project, and a repository for the client and a repo for the server inside it.