问题情况:
可以用git bash命令行执行git命令,但IDEA中执行均会报错,并且git history中看不到最新的代码提交记录
报错信息:
Push failed unable to read askpass response from ‘…\intellij-git-askpass-local.sh’ bash:
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
解决方案: