github 上傳 - Linux

Table of Contents

抱歉 我真的快被 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



--

All Comments

Ula avatarUla2015-04-24
你有權限登那個帳號?不然一般來說你拉別人的東西本來就
Rae avatarRae2015-04-25
唯讀啊。可以用 fork 和 pull request 機制要求 upstream
Rachel avatarRachel2015-04-30
從你 fork 出來的 repo 拉 code 下來合併
Brianna avatarBrianna2015-05-04
查到原因了
Heather avatarHeather2015-05-07