2016-09-30 78 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的帳戶憑據

它將工作得很好。