1

Michael Hartl の Ruby on Rails チュートリアルhttp://ruby.railstutorial.org/chapters/beginning#fnref:1.16に従おうとしていますが、エラーが発生しました。GitHub にサインアップして、新しい SSH キーを発行し、新しいリポジトリを作成しました。しかし、リポジトリを GitHub にプッシュしようとすると、次のエラーが発生します。

ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

何か案は?

ターミナルに入力したコマンドの一部を次に示します。

Parkers-MacBook-Pro:.ssh ppreyer$ git remote add origin git@github.com:ppreyer/first_app.git
Parkers-MacBook-Pro:.ssh ppreyer$ git push -u origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly – ppreyer 6 mins ago

そして、ここにgit remote -v示すものがあります:

Parkers-MacBook-Pro:.ssh ppreyer$ git remote -v
github    git@github.com:ppreyer/first_app.git (fetch)
github    git@github.com:ppreyer/first_app.git (push)
origin    git@github.com:ppreyer/first_app.git (fetch)
origin    git@github.com:ppreyer/first_app.git (push)
4

1 に答える 1

1

あなたのリポジトリは「MyFirstRailsApp」と呼ばれていましたが、削除されたようです。それがあなたのエラーの理由です。

于 2012-06-05T22:02:50.513 に答える