2016-09-30 77 views
0

试图推动一个文件,并收到此错误:推到GitHub的403错误权限被拒绝

remote: Permission to AndrewPreciado/CS6432016.git denied to Adrew64. 
fatal: unable to access 'https://github.com/AndrewPreciado/CS6432016.git/': 
The requested URL returned error: 403 

Adrew64指的是我的我在一天中使用回旧的github帐户的用户名,但我想用这个新在AndrewPreciado帐户。

我能做什么?由于

+3

只需按照此说明将Adrew64添加为合作者:https://help.github.com/articles/inviting-collaborators-to-a-personal-repository/ – Hackerman

+0

非常感谢!那就是诀窍。 – Adrew

+0

我知道了!...我很高兴帮助:) – Hackerman

回答

2

您的计算机节省本地凭据

按照以下步骤在Windows上: 打开控制面板 - >用户帐户 - >管理你的凭据 - >窗口凭证 - >删除git的帐户凭据

它将工作得很好。