【发布时间】:2019-04-23 01:25:19
【问题描述】:
我找不到这个问题的答案,也许我只是在这里盲目地错过了一步,但是每当我尝试将我的代码推送到 github 并使用git push -u origin master 时,它都会提示密码为“--global@ github.com”:
我输入我的帐户密码,它显示
Password for 'https://--global@github.com':
remote: Invalid username or password.
fatal: Authentication failed for
'https://github.com/richardquirarte/QRealty.git/'
我已经使用过 git config --global user.email 并验证这是我的电子邮件,但它一直在提示。
再次抱歉,如果这是一个简单的解决方法,我只是无法在任何地方找到答案。谢谢。
【问题讨论】: