簡體   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