【发布时间】:2015-03-10 07:47:11
【问题描述】:
我从以下引用了这个很棒的线程来分叉我的 Heroku 应用程序并克隆 github 存储库,以便拥有两个单独的 github 存储库和 Heroku 应用程序用于生产和开发。
Trying to heroku git:clone after heroku fork yields an empty repository
$ git clone git@heroku.com:oldapp.git -o old newclonedapp
$ cd newclonedapp
$ heroku git:remote -a newclonedapp
$ git push heroku master
然后我手动将我的文件夹 newcloneapp 移动到它自己的目录中。无论如何,我仍然收到以下错误:
! Multiple apps in folder and no app specified.
! Specify app with --app APP.
我该如何解决这个问题?
【问题讨论】:
标签: ruby-on-rails git heroku