Git asks me for password every time I submit to Github


I use double authentication with GitHub, therefore I use a token that works as a password, but in under , every time I run the command git push or git flow publish it asks me for username and password.

I have the Posh-Git and Git-Flow module installed.

Additional note
I have port 22 blocked so I can only use the https protocol.


How do I stop git asking for my GitHub username and password anymore?


Try with …

git config --global credential.helper wincred

It will ask for your credentials once and they will be cached for future operations.

Reference .

Scroll to Top