首页 > 其他 > 详细

on the go way (五)git push 403 error

时间:2016-03-22 22:00:18      阅读:276      评论:0      收藏:0      [点我收藏+]

在使用git push的时候产生这种情况 

error: The requested URL returned error: 403 while accessing https://github.comgit/info/refs

 

  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 to url=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

on the go way (五)git push 403 error

原文:http://www.cnblogs.com/OneDream/p/5308338.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!