通用技术 github 上传报错

膨化先生 · May 27, 2021 · 1404 hits

一、报错:

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"
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up