Silentdoer

导航

github新push方式

现在已经不能用账号密码来push了,要通过github里的settings里的developer settings的personal access token来实现,生成了token后复制保存起来,比如生成的是:ghp_AGgDdXBXegINa9Fh33jw6MsKtbfoUc3Jux9U

然后再通过:git push https://<GITHUB_ACCESS_TOKEN>@github.com/<GITHUB_USERNAME>/<REPOSITORY_NAME>.git

来实现,如:git push https://ghp_AGgDdXBXegINa9Fh43jw6MsKtbfoUc3Jux9U@github.com/Silentdoer/concurrent_executor.git

【解决pull push等慢或报错的问题 】

git config http.sslVerify "false"【可以加--global】

git config --global http.postBuffer 524288000

set https_proxy=https://127.0.0.1:1080和set http_proxy=http://127.0.0.1:1080【FQ的前提下】

【如果仍然不行,可以用github的git desktop工具来弄】

OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

posted on 2021-09-06 21:34  Silentdoer  阅读(474)  评论(0编辑  收藏  举报