解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
2019獨角獸企業重金招聘Python工程師標準>>>
git提交代碼時,出現這個錯誤“error: The requested URL returned error: 403 Forbidden while accessing https”
? ? ?解決方法:
? ? ?編輯.git目錄下的config文件即可。
? ? vim .git/config
? ? ?[core]
? ? ? ? repositoryformatversion = 0
? ? ? ? filemode = true
? ? ? ? bare = false
? ? ? ? logallrefupdates = true
[remote "origin"]
url = https://enzhouguo@github.com/enzhouguo/video_web.git
? ? ? ?//修改前?url = https://github.com/enzhouguo/video_web.git
? ? ? ?//修改后 url = https://enzhouguo@github.com/enzhouguo/video_web.git
? ? ? ? fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
? ? ? ? remote = origin
? ? ? ? merge = refs/heads/master
?
轉載于:https://my.oschina.net/guoenzhou/blog/1556827
總結
以上是生活随笔為你收集整理的解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Android如何在免Root下自动Pa
- 下一篇: 车辆管理系统