私はまだ RoR に関するいくつかのガイドを読んでいますが、デモ アプリのデプロイで行き詰まっています。
私は指示に従いました:
Microposts リソースが完成した今こそ、リポジトリを GitHub にプッシュする良い機会です。
$ git add . $ git commit -a -m "Done with the demo app" $ git push
ここで間違っていたのはプッシュ部分でした..これを出力しました:
$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
git push <name>
だから私はこのコマンドを実行して指示に従ってみました:
$ git remote add demo_app 'www.github.com/levelone/demo_app'
fatal: remote demo_app already exists.
だから私はプッシュします:
$ git push demo_app
fatal: 'www.github.com/levelone/demo_app' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
ここで何ができますか?どんな助けでも大歓迎です。