【git提示error: unable to read askpass response from ‘xxxintellij-git-askpass.bat‘ bash: /dev/tty: No 】

git提示error: unable to read askpass response from 'xxxintellij-git-askpass.bat' bash: /dev/tty: No such device or address

  • 解决无法pull push代码问题

解决无法pull push代码问题

原因:昨天项目还可以进行pull push,可以今天就不行了,idea提示 error: unable to read askpass response from ‘xxxintellij-git-askpass.bat’ bash: /dev/tty: No such device or address.

检查了一番原来是gitee账号登录过期,于是重新进行登录,可是登录成功还是提示错误,最后网上找了好久的方法终于找到解决办法,特此记录一下。
直接修改项目目录下面的.git文件夹中config文件 将用户名:密码添加进入gitee/github/gitlab路径中
例如:
修改前
【git提示error: unable to read askpass response from ‘xxxintellij-git-askpass.bat‘ bash: /dev/tty: No 】_第1张图片

修改后可提交
【git提示error: unable to read askpass response from ‘xxxintellij-git-askpass.bat‘ bash: /dev/tty: No 】_第2张图片
希望这篇文章能够帮你解决问题

你可能感兴趣的:(Git,git,github)