在heroku分叉后,Git推送新的staging rails应用程序的错误

时间:2013-08-30 21:24:48

标签: ruby-on-rails git heroku staging

我正在尝试设置我的生产应用的临时副本,以便在heroku上进行测试。

$ heroku fork -a myapp-production myapp-staging

并且stagin app工作正常 - 现在我尝试将它作为遥控器添加到我的git中:

$ git remote add staging git@heroku.com:myapp-staging.git

似乎被添加到我的git遥控器没有问题。但是,当我尝试用以下方法推动更改时:

$ git push staging master

我收到以下错误:

error: unable to resolve reference refs/remote/staging/master: No error
error: Cannot lock the ref 'refs/remotes/staging/master'.
Everything-up-to-date

不确定问题是什么......

0 个答案:

没有答案