Cygwin git push hangs, msysgit okay

人走茶凉 提交于 2019-12-05 04:16:21

I had this problem on cygwin too. But after reading the issue log, referenced by Paul, I fixed it by executing the following command:

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

Upon issuing a git push two dialogboxes appear after another. username and then password. It's not the best but at least it works.

There's a bug about this: https://github.com/gitextensions/gitextensions/issues/85

The bug description also contains a workaround:

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

This will make prompt appear in a popup window

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!