git push >> роковой: нет настроенного места назначения push
Я все еще прохожу некоторые руководства по RoR, и я застрял здесь наРазвертывание демо-приложения
Я следовал инструкциям:
With the completion of the Microposts resource, now is a good time to push the repository up to 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
Что я могу сделать здесь? Любая помощь приветствуется.