unable to read askpass response from 'C:\Users\..\..\intellij-git-askpass.bat' failed to execute prompt script (exit code 1) could not read Username

原因:

缺少用户认证信息。

解决办法:

在 .git 的 config 配置文件中的请求串中加入用户身份的认证信息。

https://[userName]:[password]@github.com/[username]/project.git

例如:

 [remote "origin"]
     url = http://wangshzh:11111111@gitlab.qdum.com/zhangyb/dmavip.git
     fetch = +refs/heads/*:refs/remotes/origin/*

 

posted @ 2018-03-13 16:50  unique1319  阅读(6863)  评论(0编辑  收藏  举报