我无法克隆新创建的存储库.我收到了以下错误.
$ git clone https://github.xxxxx.com/zzzzzz.git
Cloning into 'zzzzzz'...
Username for 'https://github.xxxxxx.com': yyyyy
Password for 'https://yyyyy@github.xxxxxx.com':
remote: Internal Server Error.
remote:
fatal: unable to access 'https://github.xxxxxx.com/zzzzz.git/': The requested URL returned error: 500
Run Code Online (Sandbox Code Playgroud)
我已经成功生成了ssh密钥,并根据以下URL中的说明更新了github设置中的密钥
https://help.github.com/articles/generating-ssh-keys/
执行命令时,身份验证成功:git -T git@github.xxx.com
另外根据我的理解,如果我们设置ssh,git clone命令不应该要求用户名和密码.但它仍然要求他们.
debug1: Authentication succeeded (publickey).
Authenticated to github.xxxxx.com ([10.28.22.44]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Hi xxxx! You've successfully authenticated, but GitHub does not provide shell access.
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3880, received 1696 bytes, in 0.2 seconds
Bytes per second: sent 19132.2, received 8363.0
debug1: Exit status 1
Run Code Online (Sandbox Code Playgroud)
这很可能是GitHub服务的一个问题.我建议联系他们并解释问题所在.
这就是维基百科解释500响应代码的方式:
500内部服务器错误
一个通用错误消息,在遇到意外情况时给出,并且没有更合适的消息.
基本上,GitHub端点出了问题.
但是,由于您已经设置了SSH密钥,因此可以使用ssh url来克隆您的存储库:
git clone git@github.com:owner/repo.git
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
41335 次 |
| 最近记录: |