git克隆无法工作并返回403 http错误。

3
我无法在我的服务器上克隆任何存储库。
当运行 git clone http://github.com/farshidrezaei/fitpic.git,
我遇到以下错误:
Initialized empty Git repository in /home/domains/test/fitpic/.git/
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/farshidrezaei/fitpic.git/info/refs

fatal: HTTP request failed

为什么会遇到以下错误?如何修复这个错误?
1个回答

1

听起来你需要在克隆仓库之前完成此页面上的步骤:https://help.github.com/articles/set-up-git/

具体而言,我认为“设置Git”部分可能正是你所需要的。

最后一件事:我认为你需要使用https而不是http作为你的github url :)


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接