Windows – Unable to push to remote Git repository, reading response from git-gui–askpass failed

gitwindows

Since yesterday, I have big problems while trying to push to Github or Bitbucket (both fail on the same error). I am sure I'm putting in the correct credentials but I'm receiving this error after entering password:

Pushing to https://USERNAME@bitbucket.org/USERNAME/PROJECT.git
error: unable to read askpass response from 'C:/Program Files (x86)/Git/libexec/git-core/git-gui--askpass'
fatal: could not read Password for 'https://USERNAME@bitbucket.org': Bad file descriptor

I haven't changed any options, it started to happen for, as far as I know, no reason

I tried to reinstall GIT-GUI, tried both GitHub and Bitbucket, tried to create new project. None worked.

Everything works on the second computer with same files.

Best Answer

Corrupt file? try a check disk.

See also these:

Prefer SSH instead of HTTPS

Related Question