连接GitHub
1 | ping github.com |
不通可以在hosts里加
1 | 13.250.177.223 github.com |
关闭代理
1 | git config --global --unset http.proxy |
关代理软件并重启电脑
HTTPS
1 | git clone https://github.com/hexojs/hexo.git |
SSH
测试 SSH 连接
1 | ssh -T git@github.com |
下载远程仓库
1 | git clone git@github.com:hexojs/hexo.git |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Ln's Blog!
评论