我仍在学习RoR指南,现在在部署演示应用这里遇到了问题。
我按照以下说明进行操作:
随着Microposts资源的完成,现在是将存储库推送到GitHub的好时机:
这里出了问题的是 push 部分,它输出了以下内容:
$ 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
我能在这里做什么?非常感谢任何帮助。