spences10
1/6/2017 - 1:50 PM

From http://stackoverflow.com/questions/2971550/how-to-push-different-local-git-branches-to-heroku-master

Just bear in mind that git add . can be for the heroku cli

In fact I have found that it's best to have you development environment [c9] where you dont pull/push from GitHub, just have your work in your dev env then push to heroku from there any changes can go via your IDE

Look at forking for a test env on heroku

# deploy to heroku
$ git push heroku master
# heroku logs
$ heroku logs -t