git push >> fatal: brak skonfigurowanego miejsca docelowego push

Nadal przeglądam kilka poradników RoR i utknąłem tutajWdrażanie aplikacji demonstracyjnej

Postępowałem zgodnie z instrukcjami:

Po ukończeniu zasobu Microposts jest teraz dobry moment, aby przenieść repozytorium do GitHub:

<code>$ git add .
$ git commit -a -m "Done with the demo app"
$ git push
</code>

To, co się stało źle, to część wypychająca ... wydała to:

<code>$ 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>
</code>

Próbowałem więc wykonać instrukcje, wykonując to polecenie:

<code>$ git remote add demo_app 'www.github.com/levelone/demo_app'
fatal: remote demo_app already exists.
</code>

Więc pcham:

<code>$ 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
</code>

Co mogę tutaj zrobić? Każda pomoc byłaby bardzo mile widziana.

questionAnswers(2)

yourAnswerToTheQuestion