on the go way git push 403 error

Posted wjonedream+追梦or old+MGTDXR

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了on the go way git push 403 error相关的知识,希望对你有一定的参考价值。

在使用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://[email protected]/derekerdmann/lunch_call.git to url=ssh://[email protected]/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的主要内容,如果未能解决你的问题,请参考以下文章

The way to unwind the stack on Linux EABI

Go实战--实现一个自己的网络请求日志httplogger(The way to go)

Go语言学习之os包中文件相关的操作(The way to go)

Python on the Way, Day1 - Python基础1

We are all on the way

On The Way—Step 2 Python入门之Python内容初始