问题1:
Update project时git提示error: unable to read askpass response from 'xxxintellij-git-askpass.bat' bash: /dev/tty: No such device or address
原因:
由于读取不到该项目的远程git账户和密码;但是早上还可以pull、push,下午就不可以;网上查询的添加用户名和密码的方法也不行但是本地可以将更改pull上远程中
早上由于关于日期的更改,所以额外打开了一个界面,写了demo;怀疑是idea的缓存的问题;所以
解决:
![](https://img-blog.csdnimg.cn/img_convert/179e541670629e178a23bd21f5634b3e.png)
清除了缓存,就一切正常了
左上角->file->Invalidate and Restart即可
问题2:
每次打开IDEA会弹出Server's certificate is not trusted
原因:
破解idea,本地hosts配置了映射,然后idea检测出来弹出警告 服务器证书不可用
解决:
file->setting->Server Certificates 勾选Accept non-trusted certificates automatically即可