简体   繁体   English

克隆没有密码的Gitlab回购

[英]Clone Gitlab repo without password

Is there a way I can allow others to clone source via http from a public repo I'm hosting without requiring a password? 有没有办法我可以允许其他人通过http从我正在托管的公共仓库克隆源而无需密码?

It currently prompts for a password which fails if I try to do http://username:password@<repolocation>.git , so people are having to set up SSH keys just to clone the source. 如果我尝试使用http://username:password@<repolocation>.git ,它当前会提示输入密码失败,因此人们不得不设置SSH密钥来克隆源代码。

Is there a better way to do this? 有一个更好的方法吗? I'm fairly new to git & gitlab so I'm not really sure where to look. 我对git和gitlab相当新,所以我不确定在哪里看。

Thanks in advance. 提前致谢。

Since GitLab 6.2 , it should be possible; GitLab 6.2以来,它应该是可能的; since you can define a project as "public", like those GitLab public project . 因为您可以将项目定义为“公共”,就像那些GitLab公共项目一样

That was recently completed (October 2013) in this feedback request . 最近在此反馈请求中完成了(2013年10月)。

This was puzzling to me. 这对我来说很困惑。 I had to set two settings: the Project visibility (Public) and the Repository access (changed to "Everyone with access"). 我必须设置两个设置:项目可见性(公共)和存储库访问(更改为“具有访问权限的所有人”)。

(other answer here ) (其他答案在这里

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

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