heroku-repo icon indicating copy to clipboard operation
heroku-repo copied to clipboard

Commands assume git master branch

Open adamlwgriffiths opened this issue 10 years ago • 3 comments

All git commands assume master branch. "git push #{extract_app_from_git_config || "heroku"} master"

Git branches are the best way to manage various deployment environments (staging, production). This is done by specifying the local branch to push from git push <remote> <branch>:master

Hardcoding this to master prevents the majority of users from using this tool for any git related commands.

adamlwgriffiths avatar Apr 16 '14 07:04 adamlwgriffiths

:+1:

rehno-lindeque avatar Jun 17 '14 12:06 rehno-lindeque

+1

alyssaq avatar Sep 26 '14 04:09 alyssaq

:+1:

ses4j avatar May 29 '15 13:05 ses4j