Skip to content

Instantly share code, notes, and snippets.

@bvsatyaram
Created May 13, 2012 11:10
Show Gist options
  • Save bvsatyaram/2687884 to your computer and use it in GitHub Desktop.
Save bvsatyaram/2687884 to your computer and use it in GitHub Desktop.
Deploying private branch to heroku
git push heroku master
git push heroku <your_private_branch>:master
error: failed to push some refs to 'git@heroku.com:bvsatyaram.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
git push --force heroku <your_private_branch>:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment