抱歉 我真的快被 github 上传机制搞疯
我自己有 repository,也可以clone,改完上传输入帐密就可以上传
这次拉别人的 repostory ,一直出现
error: The requested URL returned error: 403 while accessing https://github.com/
shines77/gzmalloc.git/info/refs?service=git-receive-pack
fatal: HTTP request failed
然后我试着改 .git/config 内的
https://github.com/oooo/xxxx.git -> ssh://git@github.com/oooo/xxxx.git
自己的主机也产生 ssh key
ssh-keygen -t rsa -C "your_email@youremail.com"
将 id_rsa.pub 加到 github 中,并测试 ssh -T git@github.com
Hi gn00618777! You've successfully authenticated, but GitHub
does not provide shell access.
我仍然无法 push,快疯了,正事都没做到,卡这个卡一个下午,拜托诸神,谢。
无法 push 的讯息
ERROR: Permission to tailyn/lobby-greeting-page.git denied to gn00618777.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights