In Powershell Console, when typing
git remote add github https://github.com/myusername/myrepo.git
git push -u github master
Powershell prompt
Username for 'https://github.com':
But I cannot enter any answer as any keypress doesn't seem to respond, is it normal ?
Note 1: I use github as name for remote because I already used origin for pushing also to bitbucket
Note 2: I am on Windows 10 and have installed Posh-Git
You can make the process non-interactive with:
using your username in the url:
git remote add github https://[email protected]/myusername/myrepo.git
using a git credential helper that will store your password for you
git config --global credential.helper wincred
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