作者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://www.ptt.cc/bbs/Linux/M.1429696448.A.3CB.html
推 Bencrie: 你有權限登那個帳號?不然一般來說你拉別人的東西本來就 04/22 19:18
→ Bencrie: 唯讀啊。可以用 fork 和 pull request 機制要求 upstream 04/22 19:19
→ Bencrie: 從你 fork 出來的 repo 拉 code 下來合併 04/22 19:20
※ 編輯: gn00618777 (118.169.62.87), 04/22/2015 19:53:31
→ gn00618777: 查到原因了 04/22 22:39