Git shell prompts for password in an OpenSSH popup window

ε祈祈猫儿з 提交于 2019-11-29 11:34:20

问题


I don't know why, recently git shell asks me for credentials in an old-fashioned OpenSSH window (by the way, I use a https connection) instead of just prompting in the console.

That prevents me to use the wincred, I always have to type my credentials. Quite annoying, esecially that when I make a typo, the console cursor disappears. How can I go back to the default mode?

System: Windows 7
Console: ConEmu

Thanks for help!


回答1:


Use $ git config --global core.askPass ""

You can also set credentials in your config to prevent being prompted every time (https://git-scm.com/docs/gitcredentials).




回答2:


This could be also caused by Visual Studio Code. If this is the case just add "git.autofetch": false into your setting.json file.



来源:https://stackoverflow.com/questions/36073859/git-shell-prompts-for-password-in-an-openssh-popup-window

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