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
- edit
.git/config
file under your repo directory - find
url=
entry under section[remote "origin"]
- change it from
url=https://[email protected]/derekerdmann/lunch_call.git
tourl=ssh://[email protected]/derekerdmann/lunch_call.git
. that is, change all the texts before@
symbol tossh://git
- Save
config
file and quit. now you could usegit 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)