Always be explicit with git push commands #115

bengitscode opened this Issue Dec 14, 2017 · 1 comment


None yet
2 participants

bengitscode commented Dec 14, 2017

### Push `master` to Heroku

Only keep clean, working code on `master`. After you complete a feature merge it
onto `master`. Push your updated `master` to GitHub, then to Heroku.

git checkout master
git merge my-feature # merge your working code
- git push # update GitHub
+ git push origin master # update GitHub
git push heroku master # udpate heroku

This comment has been minimized.


jordanallain commented Mar 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment