git项目vs存储库,有什么根本的区别? [英] git project vs repository, what's the fundamental difference?

查看:380
本文介绍了git项目vs存储库,有什么根本的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个项目目前使用SVN,我正在迁移到git,我注册了
,并且可以选择创建一个新项目或添加一个存储库。
我刚刚开始使用git,所以我不知道其中的差别,或者说,如果我只是在一个项目下使用存储库,这意味着什么。
如果我这样做,我将以他们的域名.com / myname / repository1和theirDomain.com/myname/repository2

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

如果我选择创建两个项目,然后我最终与
theirDomain.com/project1
theirDomain.com/project2

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

除了URL差异,是否会有任何影响在选择一个之上?
在此先感谢

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

推荐答案

这是一个有价值的,而不是git的东西。每个项目可以有多个存储库。

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.

这篇关于git项目vs存储库,有什么根本的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆