开发者

What is the significance of slashes in git repository names?

开发者 https://www.devze.com 2022-12-18 11:05 出处:网络
I haven\'t been able to find this explained anywhere, so it probably means that if I was thinking about this issue correctly it would be obvious.Please set me straight.

I haven't been able to find this explained anywhere, so it probably means that if I was thinking about this issue correctly it would be obvious. Please set me straight.

When I create a repository 'Project' on my gitosis server, I can access it with the URL git@server:Project.git. Which works great.

Yet, I also see URLs of the form git@server:Directory/Project.git. Is there any special significance to the Directory/ portion of the URL? Does this create/imply a submodule? Or is it just a garden variety repository that I can treat like any other?

If I want to group my repositories on my gitosis server this way, can I simply add them to the 开发者_JAVA百科gitosis conf file like so:

[group a_group]
writable = Foo/Bar
members = Me You SomeGuy

Thanks for clearing this up.


It's just a path to the Git repository. Instead of being at, e.g., ~git/Project.git, it's at ~git/Directory/Project.git.

0

精彩评论

暂无评论...
验证码 换一张
取 消