[Solved] 使用IDEA进行git操作时提示Unable to read askpass response; could not read Username for ...

原始报错如图

[Solved] 使用IDEA进行git操作时提示Unable to read askpass response; could not read Username for ..._第1张图片

Push failed unable to read askpass response from 'C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2023.2\tmp\intellij-git-askpass-local.sh' bash: line 1: /dev/tty: No such device or address failed to execute prompt script (exit code 1) could not read Username for 'https://gitlab---------': No such file or directory

解决方案:勾选 Use credential helper

[Solved] 使用IDEA进行git操作时提示Unable to read askpass response; could not read Username for ..._第2张图片

另,还有一个小伙伴遇到了这个问题,他的解决方案是重新安装最新版 git,反正也解决了 emmm

你可能感兴趣的:(git)