30

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

github openSSH window

Thanks for help!

saq
  • 422
  • 5
  • 9

2 Answers2

21

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).

BrJ
  • 574
  • 3
  • 7
9

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

Yar
  • 7,020
  • 11
  • 49
  • 69