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.
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.