当前位置:   article > 正文

idea使用git拉取项目失败 error: unable to read askpass response from xxx \intellij-git-askpass-local.sh_error: unable to read askpass response from 'c:\us

error: unable to read askpass response from 'c:\users\administrator\appdata\

git: ‘credential-manager-core’ is not a git command. See ‘git --help’.
Invocation failed Server returned invalid Response.
java.lang.RuntimeException: Invocation failed Server returned invalid Response.
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:22)
at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:56)
Caused by: java.io.IOException: Server returned invalid Response.
at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:242)
at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:19)
… 1 more
error: unable to read askpass response from ‘C:\Users\Administrator\AppData\Local\JetBrains\IntelliJIdea2021.3\tmp\intellij-git-askpass-local.sh’
bash: line 1: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for ‘http://xxxxxx’: No such file or directory

今天遇到这个错误,网上说的勾选use credential helper 不管用

我的问题是因为idea安装了gitee这个插件,可能gitee的账号登录跟gitlab仓库的账号冲突了

我禁用了gitee插件问题得到解决。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/512373
推荐阅读
相关标签
  

闽ICP备14008679号