解決:git使用git push 命令跳出remote: Permission to A denied to B的問題


開始git上傳項目,不料,在git push這一步驟發生了錯誤?

remote: Permission to qwe2193066947/firstRepository.git denied to murenziwei.

fatal: unable to access 'https://github.com/qwe2193066947/firstRepository.git/': The requested URL returned error: 403

這錯誤翻譯成中文的大概意思:用戶murenziwei沒有權限訪問用戶qwe2193066947的存儲庫firstRepository。

也就是說,git環境終端里,我登入的是murenziwei賬號,所以我就應該換成qwe2193066947賬號才能解決問題。

於是,立刻執行登錄github賬號的有關git命令行

 

控制面板-->用戶

點擊刪除

或者編輯賬號完成后,回到終端,再次輸入git push

 

參考:http://www.cnblogs.com/murenziwei/p/9621599.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM