gpt4 book ai didi

git - 为什么我不能在 Git 中克隆任何存储库?

转载 作者:IT王子 更新时间:2023-10-29 00:51:47 25 4
gpt4 key购买 nike

我一直在使用 git,出于某种原因,现在每次我克隆任何 repo 时都会收到此错误

 git clone https://github.com/ryanb/cancan.git
Initialized empty Git repository in /Users/tamer /Desktop/paypal_adaptive/cancan/.git/
error: The requested URL returned error: 403 while accessing
https://github.com/ryanb/cancan.git/info/refs

fatal: HTTP request failed

我不关心什么 repo....公共(public)或私有(private)..我的 mac 上是否有我需要更改的设置/文件才能再次运行。顺便说一句,我在 mac/snow leopard 上

最佳答案

看起来这是一个已知问题:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=341221

You can also try using the git protocol, instead of http.

git clone git://git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git

http support was much improved in 1.7+ and that may be your problem.

关于git - 为什么我不能在 Git 中克隆任何存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6562871/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com