I just moved from a pc laptop to a Mac, and I've noticed a curious difference in how my git commands respond.
Before, I would do the following:
git add .
git commit -m "These are my new changes"
git push # This would update my repo on github
{enter password}
git push heroku master # This would push to my app on heroku
{enter password}
Now, when I do git push, the app just deploys on Heroku without pushing to my Github repo.
How can I ensure I'm updating both places?
Edit
Thanks for your two answers! I appreciate the clarification of the difference between git push and git push heroku master, in that git push is pushing towards origin, which in my case, it seems, is Heroku.
How can I change the settings so that they work as before? i.e. I want git push to now push to my repo on Github, and I want git push heroku master to push to Heroku. The former currently pushes straight to Heroku, bypassing Github completely.