2012-02-19 42 views
-1

我正嘗試第一次連接到github。鏈接計算機並首次推送到github

我遵循這些指令(以及Rails的3.0):http://help.github.com/create-a-repo/

但我得到這些錯誤:

$ git remote add origin [email protected]:rubikcubes/ticketee.git 
$ git push origin master -u 
The authenticity of host 'github.com (207.97.227.239)' can't be established. 
RSA key fingerprint is ##:##:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. 
Are you sure you want to continue connecting (yes/no)? y 
Please type 'yes' or 'no': yes 
Warning: Permanently added 'github.com,207.97.---.---' (RSA) to the list of known hosts. 
Identity added: /Users/name/.ssh/id_rsa (/Users/name/.ssh/id_rsa) 
ERROR: Repository not found. 
fatal: The remote end hung up unexpectedly 

$ git remote -v 
origin [email protected]:rubikcubes/ticketee.git (fetch) 
origin [email protected]:rubikcubes/ticketee.git (push) 

我設置了SSH,但也許我做錯了?

+0

你沒有步驟1中,「創建一個新的回購」? – 2012-02-19 06:38:46

+0

@MatthewFlaschen https://github.com/rubikcubes列出'ticketee'作爲五小時前創建的回購。 – 2012-02-19 08:10:28

+0

請注意,推薦使用HTTPS協議而不是ssh – CharlesB 2013-01-20 10:51:26

回答