windows - 从 github 克隆存储库失败

标签 windows git github

我无法从 github 克隆任何存储库。我总是收到此错误消息

fatal: Could not read from remote repository. Please make sure you have the
correct access rights and the repository exists

我已经处理了以下问题:

  1. 将我的路径变量设置为 ;C:\Program Files (x86)\Git\cmd;和 C:\Program Files (x86)\Git\bin;
  2. 我已经生成公钥并将 id_rsa.pub 链接到 git

我已查看所有相关链接,但无法解决此问题。

最佳答案

如果您的 ssh key 有问题,您至少可以使用 https url 作为解决方法:

git clone https://github.com/username/reponame

关于 ssh,请确保:

关于windows - 从 github 克隆存储库失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25958390/

相关文章:

c++ - 是否可以使用 Visual Studio 构建 WinDBG 扩展?

c++ - 如何将许多格式字符串打印到窗口中?

git - 如何从 git 跟踪中删除文件?

使用密码@进行Git克隆

java - 监控 Windows Server、Java 中的 UDP 数据包丢失

c++ - 将线程安全添加到简单的日志记录功能?

git - 拆分 git 存储库并稍后 merge 它

git - laravel 4 安装问题

github - 如何在 Github 中使用语法高亮编写 diff 代码

git - 在Docker容器上启动github