赞
踩
更新idea到2023.2版本之后,拉取公司内部代码出现如下报错:
git checkout error: unable to read askpass response
error: unable to read askpass response from
'\User\AppData\Local\Google\AndroidStudio2023.2\tmp\intellij-git-askpass-local.sh'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username
勾选并应用下图红框选项
Invalidate Caches and Restart.
实测尝试未生效。
参考:
https://stackoverflow.com/questions/71456719/git-checkout-error-unable-to-read-askpass-response-in-windows-10
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。