Git push errors for new staging rails application after heroku forking

222 Views Asked by At

I am trying to set up a staging copy of my production app for testing on heroku. i used

$ heroku fork -a myapp-production myapp-staging

and the stagin app works fine- now i try to add it as a remote to my git with:

$ git remote add staging [email protected]:myapp-staging.git

and seems to be added to my git remotes without a problem. But when i try to push changes to it with:

$ git push staging master

i get the following errors:

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

Not sure what the problem is....

0

There are 0 best solutions below