Cygwin git push freezes, msysgit is ok

I am behind a proxy server and I am completely new to git and I am in Windows XP.

I was able to make git push origin master from msysgit, but I can't get it to work in Cygwin with Cygwin git.

I configured git using the following command lines in both environments:

 git config --global user.name ... git config --global user.email ... git config --global http.proxy ... 

I play with a test tutor on Github. I have a problem with the following command line:

 git push origin master 

In msysgit, I have the following result:

 Writing objects: 100% (3/3), 222 bytes, done. Total 3 (delta 0), reused 0 (delta 0) To http://github.com/ymartineau/test.git * [new branch] master -> master 

which is good, and in Cygwin git asks for a username, but never asks for a user password and does not freeze.

 $ git push origin master Username for 'http://github.com': ymartineau 

I am using msysgit bash at the moment, but I thought it would be interesting to use Cygwin integration.

+7
source share
2 answers

I also had a problem with cygwin. But after reading the problem log referenced by Paul, I fixed it by running the following command:

 git config --global core.askpass "git-gui--askpass" #Note the lack of the file path. 

After the release of git push two dialog boxes appear after another. username and then password. This is not the best, but at least it works.

+6
source

There is an error about this: https://github.com/gitextensions/gitextensions/issues/85

The error description also contains a workaround:

 $ git config --global core.askpass /usr/libexec/git-core/git-gui--askpass 

This will pop up a prompt.

+4
source

All Articles