好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

githubunabletoaccess&#39;https://github.com/..

建立一个github帐号(pythonsoft)之后,按照提示create a repository: test. 想把这个项目clone到本地: git clone https://github测试数据/pythonsoft/test.git 出现错误: unable to access 'https://github测试数据/pythonsoft/test.git: Failed to connect to gith

建立一个github帐号(pythonsoft)之后,按照提示create a repository: test.

想把这个项目clone到本地:

git clone https://github测试数据/pythonsoft/test.git

出现错误:

unable to access 'https://github测试数据/pythonsoft/test.git: Failed to connect to github测试数据 port 443‘

原因是没有输入指定用户名和密码:

打开终端,切换到git目录(我的是/home/steven/.git)

sudo gedit config

把url = https://github测试数据/pythonsoft/test.git改成url = https://用户名:密码@github测试数据/pythonsoft/test.git。

然后就可以了。

查看更多关于githubunabletoaccess&#39;https://github.com/..的详细内容...

  阅读:36次