赞
踩
不同的代码管理账号,所以就选择输入用户名和密码提交,github上整整就连不上,而且用登录密码提交代码现在不好使了,得用token;
记录一下git问题,方便我自己查找!
1.OpenSSL SSL_read: Connection was reset, errno 10054
解决办法:git config --global http.sslVerify “false”
再次输入用户名、密码即可对远端代码进行管理。
2.连不上github时,可以配置host,对github进行提速,(注:不用改任何地址,拿来直接用,使用的是SwitchHosts进行host管理)
# GitHub520 Host Start 140.82.114.26 alive.github.com 140.82.113.26 live.github.com 185.199.108.154 github.githubassets.com 140.82.114.21 central.github.com 185.199.108.133 desktop.githubusercontent.com 185.199.108.153 assets-cdn.github.com 185.199.108.133 camo.githubusercontent.com 185.199.108.133 github.map.fastly.net 199.232.69.194 github.global.ssl.fastly.net 140.82.113.3 gist.github.com 185.199.108.153 github.io 140.82.114.4 github.com 192.0.66.2 github.blog 140.82.112.6 api.github.com 185.199.108.133 raw.githubusercontent.com 185.199.108.133 user-images.githubusercontent.com 185.199.108.133 favicons.githubusercontent.com 185.199.108.133 avatars5.githubusercontent.com 185.199.108.133 avatars4.githubusercontent.com 185.199.108.133 avatars3.githubusercontent.com 185.199.108.133 avatars2.githubusercontent.com 185.199.108.133 avatars1.githubusercontent.com 185.199.108.133 avatars0.githubusercontent.com 185.199.108.133 avatars.githubusercontent.com 140.82.114.9 codeload.github.com 52.217.88.132 github-cloud.s3.amazonaws.com 52.216.12.36 github-com.s3.amazonaws.com 52.216.239.131 github-production-release-asset-2e65be.s3.amazonaws.com 52.217.174.129 github-production-user-asset-6210df.s3.amazonaws.com 52.217.129.153 github-production-repository-file-5c1aeb.s3.amazonaws.com 185.199.108.153 githubstatus.com 64.71.144.202 github.community 23.100.27.125 github.dev 185.199.108.133 media.githubusercontent.com
3.git push的时候提示"fatal: unable to access ‘https://github.com/xxxxx/xxxx.git/’: Failed to connect to github.com port 443: Timed out
此时账户和密码框都没有进行弹出;
解决办法:输入以下命令
git config --global --unset http.proxy
然后就可以重新push了。
4.推送代码失败!!!fatal: Authentication failed for ‘https://github.com/xxxlgloverd/my-docs.git/’
github老是整幺蛾子!!烦死了!!
你得配token才能上传代码!!!
设置完了之后存起来!!!方便下次上传代码的时候用!!!!
未完持续更新中。。。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。