unable to read askpass response from 'C:\Users\..\..\intellij-git-askpass.bat' could read name from
阿新 • • 發佈:2018-12-14
錯誤資訊:
Can't finish GitHub sharing process unable to read askpass response from 'C:\Users\username\.IntelliJIdea2016.3\system\tmp\intellij-git-askpass25.bat' failed to execute prompt script (exit code 1) could not read Username for 'https://github.com': No error
出現這個錯是因為你的git配置錯誤,然後導致push到遠端github一直失敗報錯,本人一開始以為是ssh公鑰問題,各種琢磨都無果,最後開啟git bash切入到你的專案目錄,然後
$ vim .git/config
修改remote.origin.url變數為 https://[userName]:[password]@github.com/[username]/project.git
如圖所示
配置使用者名稱和郵箱如
$ git config user.name wwclr
$git config user.email [email protected]
ok,問題解決,push成功