Following Heroku's deployment tutorial, I need to push my code to the heroku remote's master. I am currently on feature_branch, and need to deploy the code on this branch. 
git push heroku feature_branch master is not working
How do I push feature_branch to master on of my remote?
- 
 1Possible duplicate of How can I push a local Git branch to a remote with a different name easily?Holger Just– Holger Just2016年07月04日 10:52:38 +00:00Commented Jul 4, 2016 at 10:52
 
1 Answer 1
git push origin local-name:remote-name
Normally when we do a push in git we do something like git push origin master, which really means push from the local branch named master to the remote branch named master. If you want to push to a remote branch with a different name than your local branch, separate the local and remote names with a colon: