繁体   English   中英

https的git clone在其他机器上不起作用

[英]git clone by https does not work on other machine

在我的本地计算机(Linux)上,我使用

git clone https://rcffc@dev.kom.e-technik.tu-darmstadt.de/gitlab/WaelKH/KM_2_2017_Feature_Selection.git

并要求我输入密码。 输入密码后,我可以克隆存储库,很好。

在服务器(Windows)上,该命令导致

remote: Not Found
fatal: repository 'git clone https://rcffc@dev.kom.e-technik.tu-darmstadt.de/gitlab/WaelKH/KM_2_2017_Feature_Selection.git/' not found

请帮我。

更新:这是一个私有存储库。 更新2&3:使问题更清晰。 更新4:包含的操作系统信息更新5:包含的实际命令。

克隆存储在http://www.example.com/foo/bar.git中的存储库的命令是

git clone https://www.example.com/foo/bar.git

尝试检查curl https://username@remote.git有效。 首先,如@sensorario所述,您应确保URL有效,并且还应确保curl使用正确的证书进行https连接,因为AFAIK git命令在内部使用curl。

更新

git clone https://your_server_ip/your_user_name/your_repo_name.git

暂无
暂无

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

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