git:// urls with gitolite

Deadly 提交于 2019-12-07 20:09:24

问题


I am running a gitolite system and I currently clone like this:

git clone gitolite@debainserver.local:my-project

and it works fine, but I want to clone into an application that needs (no work arounds, tried them all) a git:// address. so how can I set this up.

To clarify a little more look at github's addresses yourself.

git clone git://github.com/git/git.git

how does this work, and how can I set it up? I want to be able to go

git clone git://debainserver.local:my-project

and have it clone.


回答1:


You will have to setup git daemon appropriately to do that: http://computercamp-cdwilson-us.tumblr.com/post/48589656281/git-gitolite-git-daemon-gitweb-setup-on-ubunt



来源:https://stackoverflow.com/questions/7543651/git-urls-with-gitolite

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!