Heroku: Git error after application fork
Figured it out. Here for posterity.
The error was the wrong remote for the staging app. I created it with
$ git remote add staging git@heroku.com:myApp-staging.git
and I had
$ git remote -vheroku https://git.heroku.com/myApp.git (fetch)heroku https://git.heroku.com/myApp.git (push)staging git@heroku.com:myApp-staging.git (fetch) // wrongstaging git@heroku.com:myApp-staging.git (push) // wrong
I should have done
$ git remote add staging https://git.heroku.com/myApp-staging.git // over https
Now my git shows
$ git remote -vheroku https://git.heroku.com/myApp.git (fetch)heroku https://git.heroku.com/myApp.git (push)staging https://git.heroku.com/myApp-staging.git (fetch) // OKstaging https://git.heroku.com/myApp-staging.git (push) // OK
And the life is peachy again!
Note: Heroku says that the new repo IS EMPTY after forking an app. https://devcenter.heroku.com/articles/fork-app#forked-app-state