无法使用Powershell推送到github
在Powershell控制台中,键入时无法使用Powershell推送到github,git,powershell,github,Git,Powershell,Github,在Powershell控制台中,键入时 git remote add github https://github.com/myusername/myrepo.git git push -u github master Powershell提示符 Username for 'https://github.com': 但我不能输入任何答案,因为任何按键似乎都没有反应,这正常吗 注1:我使用github作为remote的名称,因为我已经使用origin将数据推送到bitbucket 注2:我在Wi
git remote add github https://github.com/myusername/myrepo.git
git push -u github master
Powershell提示符
Username for 'https://github.com':
但我不能输入任何答案,因为任何按键似乎都没有反应,这正常吗
注1:我使用github作为remote的名称,因为我已经使用origin将数据推送到bitbucket
注2:我在Windows 10上,安装了Posh Git您可以使流程与以下内容不交互:
- 在url中使用您的用户名:
git remote add github https://myusername@github.com/myusername/myrepo.git
- 那会给你的
git config --global credential.helper wincred