作者gn00618777 (非常念旧)
看板Linux
标题[问题] github 上传
时间Wed Apr 22 17:54:03 2015
抱歉 我真的快被 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://
[email protected]/oooo/xxxx.git
自己的主机也产生 ssh key
ssh-keygen -t rsa -C "
[email protected]"
将 id_rsa.pub 加到 github 中,并测试 ssh -T
[email protected]
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
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 60.251.223.31
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1429696448.A.3CB.html
1F:推 Bencrie: 你有权限登那个帐号?不然一般来说你拉别人的东西本来就 04/22 19:18
2F:→ Bencrie: 唯读啊。可以用 fork 和 pull request 机制要求 upstream 04/22 19:19
3F:→ Bencrie: 从你 fork 出来的 repo 拉 code 下来合并 04/22 19:20
※ 编辑: gn00618777 (118.169.62.87), 04/22/2015 19:53:31
4F:→ gn00618777: 查到原因了 04/22 22:39