链接计算机并首次推送到github

时间:2012-02-19 06:26:35

标签: git ssh github

我第一次尝试连接到github。

我按照这些说明(以及Rails 3.0):http://help.github.com/create-a-repo/

但是我收到了这些错误:

$ git remote add origin git@github.com: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  git@github.com:rubikcubes/ticketee.git (fetch)
origin  git@github.com:rubikcubes/ticketee.git (push)

我设置了SSH,但也许我做错了?

1 个答案:

答案 0 :(得分:0)

检查您是否拼写了您的用户名和repo更正(区分大小写)

可能相关: ERROR: Repository not found message given when following the instructions for Jekyll-Bootstrap