unable to read askpass response from ‘C:\Users\EDY\AppData\Local\JetBrains\IntelliJIdea2023.2\tmp\in

前言

在Windows中安装git之后,在idea中又配置git的仓库。

问题

在我通过VCS方式去拉取远程代码的时候就出现如下问题:

unable to read askpass response from 'C:\Users\EDY\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://kuhe-gitlab.morelinker.com': No such file or directory

这个问题大概说是在执行Git操作的时候,无法获取到Git的密码......

解决方法

在idea的Git的配置中,勾选:Use credential helper

 点击应用,再点击ok之后,再通过git远程拉取代码的时候,就会提示你输入账号密码,输入正确之后,就可以拉取到代码,这个问题也就解决了。

猜你喜欢

转载自blog.csdn.net/m0_52985087/article/details/132366897