最近在git push 代码的出现了这个错误
error: unable to read askpass response from 'C:\Users\45766\AppData\Local\Google\AndroidStudio2021.1\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 for 'https://gitee.com': No such file or directory
上图我画圈的地方你打上勾就好啦。
然后重启一下Android studio 然后重新push or pull ,就可以使用了。