今天用idea上传项目到GitHub时,其他的都设置啊,代码啊都没错,但是还是报错了
Push failed
Failed with error: AggregateException encountered.
unable to read askpass response from ‘(某路径名)\intellij-git-askpass.bat’
failed to execute prompt script (exit code 1)
could not read Username for ‘https://github.com’: No error
网上找了一些都没用,到后来才发现
是Git的版本太低了(2.8…)的版本
,于是去官网下了,2.29版的,
然后正常操作就没问题了
(Git版本太低了)