Skip to content

Instantly share code, notes, and snippets.

@larsar
Created May 12, 2012 13:42
Show Gist options
  • Save larsar/2666576 to your computer and use it in GitHub Desktop.
Save larsar/2666576 to your computer and use it in GitHub Desktop.
Push different branch to heroku
git checkout -n new_branch
git push heroku +HEAD:master
git push -f heroku HEAD:master
Source: http://stackoverflow.com/questions/2971550/how-to-push-different-local-git-branches-to-heroku-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment