Question:
I use double authentication with GitHub, therefore I use a token that works as a password, but in powershell under windows10 , 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 thehttps
protocol.
Ask
How do I stop git
asking for my GitHub username and password anymore?
Answer:
Try with …
git config --global credential.helper wincred
It will ask for your credentials once and they will be cached for future operations.