git push 403错误解决方法

  1. edit .git/config file under your repo directory
  2. find url=entry under section [remote "origin"]
  3. change it from url=https://MichaelDrogalis@github.com/derekerdmann/lunch_call.git tourl=ssh://git@github.com/derekerdmann/lunch_call.git. that is, change all the texts before @symbol to ssh://git
  4. Save config file and quit. now you could use git push origin master to sync your repo on GitHub
posted @ 2016-05-09 16:46  捅了个浆糊  阅读(344)  评论(0编辑  收藏  举报