解決github push錯誤The requested URL returned error: 403 Forbidden while accessing


github push錯誤:
html


[html] view plain copygit

git push  github

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/future.git/info/refs  vim

git version 1.7.1app


OS:CENTOS
ide

解決方案:url

vim .git/configspa

修改.net


[plain] view plain copyorm

[remote "origin"]  

    url = https://github.com/wangz/example.git  

爲:



[plain] view plain copy

[remote "origin"]  

    url = https://wangz@github.com/wangz/example.git  

再次git push,彈出框輸入密碼,便可提交


http://blog.csdn.net/happyteafriends/article/details/11554043

相關文章
相關標籤/搜索