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!
You can avoid being prompted for your password by configuring Git to cache your credentials for you. Once you've configured credential caching, Git automatically uses your cached personal access token when you pull or push a repository using HTTPS.
In your terminal, navigate to the repo you want to make the changes in. Execute git config --list to check current username & email in your local repo. Per repo basis you could also edit . git/config manually instead.
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).
This could be also caused by Visual Studio Code
. If this is the case just add "git.autofetch": false
into your setting.json
file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With