Pushing to Git returning Error Code 403
本地包含多个仓库和多个账户,在新的 GitHub 地址里创建工程修改提交的时候,报错解决方案,重新配置remote url
Edit
.git/configfile under your repo directory.Find
url=entry under section[remote "origin"].Change it from:
url=https://MichaelDrogalis@github.com/derekerdmann/lunch_call.gitto:url=ssh://git@github.com/derekerdmann/lunch_call.gitThat is, change all the texts before
@symbol tossh://gitSave
configfile and quit. now you could usegit push origin masterto sync your repo on GitHub.










评论