简体   繁体   English

使用个人名称空间的Git托管

[英]Git hosting with personal namespaces

I like the way that in launchpad if I want to host an app of little use to the public (like, say, a program which prints dots to the console, the count of them depending on which hour it is) I don't have to litter the global hosting site's namespace and fill it up with names such as HourDot but I can put it in my own personal namespace ~username/+junk/HourDot. 我想在启动板中托管一个对公众几乎没有用的应用程序(例如,一个向控制台打印点的程序,其数量取决于它的小时数)的方式,我没有散布全球托管站点的名称空间,并用诸如HourDot之类的名称填充它,但是我可以将其放在我自己的个人名称空间〜username / + junk / HourDot中。

Putting all the branches without hierarchy feels like putting everything in one big directory. 将所有分支置于无层次结构的感觉就像将所有内容都放在一个大目录中。

Is there a git hosting site where I get to have a namespace for such small apps? 是否有一个git托管站点,在那里我可以为此类小型应用程序提供命名空间? Ease of creating and deleting temporary branches also interests me. 易于创建和删除临时分支也使我感兴趣。

Hosting sites such as GitHub and Gitorious embed username or name of fork in path (name) of repository (or a fork), eg http://github.com/jnareb/softsnow-xchat2-filter on GitHub (with username "jnareb" embedded in the name of repository), or http://gitorious.org/softsnow-xchat2-filter/mainline on Gitorious (with name of fork "mainline" embedded in full name of repository). 托管站点(例如GitHubGitorious)将用户名或fork的名称嵌入到存储库(或fork)的路径(名称)中,例如GitHub上的http://github.com/jnareb/softsnow-xchat2-filter (用户名“ jnareb”嵌入在存储库的名称中),或在Gitorious上http://gitorious.org/softsnow-xchat2-filter/mainline (在存储库的全名中嵌入了fork的名称“ mainline”)。

Git allows arbitrary names (including deeper hierarchy) for git repositories, which can be seen in names such as http://git.kernel.org/?p=git/git.git (in git/ "namespace"). Git允许git存储库使用任意名称(包括更深层次的名称),可以在诸如http://git.kernel.org/?p=git​​/git.git之类的名称中看到(在git/ “ namespace”中)。


Note that most git hosting sites (see eg http://git.or.cz/giwiki/GitHosting ) provide free service for public repositories only. 请注意 ,大多数git托管站点(请参见例如http://git.or.cz/giwiki/GitHosting )仅为公共存储库提供免费服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM