通过https进行的git克隆在其他计算机上不起作用

通过https进行的git克隆在其他计算机上不起作用,git,gitlab,Git,Gitlab,在我的本地机器(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

在我的本地机器(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:包含实际命令。

克隆存储在中的存储库的命令为


用于克隆存储在中的存储库的命令为


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

更新


git克隆https://your_server_ip/your_user_name/your_repo_name.git

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

更新



git克隆https://your_server_ip/your_user_name/your_repo_name.git

谁告诉你用git clone进行克隆https://username@remote.git?Gitlab告诉我这样做。请给我看链接。这只是一个占位符示例:remote应该是“remote”链接。比如www.example.com/foo/bar.git。。。不仅是bar.git.Who告诉您使用
git克隆进行克隆https://username@remote.git
?Gitlab告诉我这样做。请给我看链接。这只是一个占位符示例:remote应该是“remote”链接。比如www.example.com/foo/bar.git。。。不仅返回bar.git.It,还返回您正在被重定向。您应该提供ssh密钥以通过登录部分以获得repo访问。机器是一个服务器,我在其中与其他人共享用户,因此ssh可能不是一个好方法idea@PeterJiang我正试图为你找出一个答案。它是托管在gitlab.com上的私有repo还是您自己的远程服务器?它是运行gitlab的开发服务器。它返回您正在被重定向的消息。您应该提供ssh密钥以通过登录部分以获得repo访问权这台机器是我与其他人共享用户的服务器,所以ssh可能不是一个好方法idea@PeterJiang我正试图为你找出一个答案。它是托管在gitlab.com上的私有repo还是您自己的远程服务器?它是运行gitlab的开发服务器
git clone https://www.example.com/foo/bar.git