通用技术 github 上传报错

膨化先生 · 2021年05月27日 · 1019 次阅读

一、报错:

unable to read askpass response from 'C:\Users\Administrator\.PyCharmCE2018.2\system\tmp\intellij-git-askpass.bat'
failed to execute prompt script (exit code 1)
could not read Username for 'https://github.com': No such file or directory

解决:

在 .git 的 config 配置文件中的请求串中加入用户身份的认证信息
格式:

https://[userName]:[password]@github.com/[username]/project.git

二、报错:

OpenSSL SSL_read: Connection was reset, errno 10054

解决:

修改设置,解除 ssl 验证,进入 git 命令,输入

git config --global http.sslVerify "false"
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
暫無回覆。
需要 登录 後方可回應,如果你還沒有帳號按這裡 注册