[英]How to clone from a Windows server to Mac client through ssh in Git?
ssh user@example.com
Works just fine. 效果很好。 But when I tried
但是当我尝试
git clone user@example.com:/d/myrepo.git
I got 我有
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I am running a Bitvise SSH Server. 我正在运行Bitvise SSH服务器。 Help!!
救命!!
Fixed. 固定。
I use cydwin+openssh+cygwin-git instead of Bitvise SSH server. 我使用cydwin + openssh + cygwin-git代替Bitvise SSH服务器。
git clone user@example.com:/cygdrive/d/myrepo.git
Works perfectly now. 现在可以完美运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.