簡體   English   中英

如何通過Git中的ssh從Windows服務器克隆到Mac客戶端?

[英]How to clone from a Windows server to Mac client through ssh in Git?

ssh user@example.com

效果很好。 但是當我嘗試

git clone user@example.com:/d/myrepo.git

我有

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我正在運行Bitvise SSH服務器。 救命!!

固定。

我使用cydwin + openssh + cygwin-git代替Bitvise SSH服務器。

git clone user@example.com:/cygdrive/d/myrepo.git

現在可以完美運行。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM