错误推送,未在GitHub上授权存储库

时间:2017-02-24 05:46:04

标签: github repository

我正在尝试推动项目存储库的更改,但是当我尝试推送更改时,它说:

Git command returned with the following error:
https://alejandromgz@github.com/davfer28/prueba.git: not authorized

我该如何解决这个问题?我尝试创建一个测试项目,它说的是同样的问题,并没有问我api或任何东西。

1 个答案:

答案 0 :(得分:1)

这取决于您的操作系统和git配置。检查您是否有可能缓存错误凭据的 credential helper (用户名/密码)

git config -l|grep credential

例如,在Windows上,打开Microsoft Credential Manager