github作为仓库开发中常见问题解决

1.报错:OpenSSL SSL_read: Connection was reset, errno 10054

//  解决方法
git config --global http.sslVerify "false"

2.报错:Failed to connect to github.com port 443: Timed out

//  解决方法
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy

3.修改仓库地址

github策略更新后无法用账号密码推送,所以我们可以修改仓库地址带入token

git remote set-url origin https://你的token@github.com/用户名/仓库名称.git
© 版权声明
1:本网站名称:源码库
2:本站永久网址:www.ymkuz.com
3:本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
4:分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
5:本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
6:本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7:如有链接无法下载、失效或广告,请联系管理员处理!
8:文章投稿-投诉建议E-mail:yunduanw@qq.com 站长QQ:99767152
THE END
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容