我正在尝试使用https-URL克隆我的GitHub项目,但它失败并出现错误:
$ git clone https://foo@github.com/foo/foo-private.git
Cloning into foo-private...
Password:
error: error setting certificate verify locations:
CAfile: /bin/curl-ca-bundle.crt
CApath: none
while accessing https://foo@github.com/foo/foo-private.git/info/refs
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
我在github上创建了一个名为pygame的存储库.创建了一个克隆并添加了文件并提交了.但是当我尝试推送时,我收到以下错误:
git push -u origin master
error: The requested URL returned error: 403 while accessing https://github.com/amalapk/pygame/info/refs
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
我可以ssh git@github.com并收到我成功登录的通知,但无法推送到我的存储库.
这是第n次,我正在尝试连接到我的github帐户,并且在我未能做到这一点时变得越来越令人沮丧.
我在Windows上逐步遵循本教程Github设置,但我在第5步失败了,即测试一切.
ssh git@github.com
Run Code Online (Sandbox Code Playgroud)
给了我这个
ssh: github.com: no address associated with name
Run Code Online (Sandbox Code Playgroud)
有什么想法有什么不对?任何帮助将不胜感激.
我正在使用Windows XP上的railsinstaller附带的默认git安装(在代理后面)