[問題] github 上傳

作者: gn00618777 (非常念舊)   2015-04-22 17:54:03
抱歉 我真的快被 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
作者: Bencrie   2015-04-22 19:18:00
你有權限登那個帳號?不然一般來說你拉別人的東西本來就唯讀啊。可以用 fork 和 pull request 機制要求 upstream從你 fork 出來的 repo 拉 code 下來合併
作者: gn00618777 (非常念舊)   2015-04-22 22:39:00
查到原因了http://ppt.cc/av9E

Links booklink

Contact Us: admin [ a t ] ucptt.com