I have an app on Heroku that is running old code. I\'ve made a small change and committed the change. I then ran
git push heroku master
I
When you run git push heroku master, git is assuming that you are pushing from master, so if you changes are in other branch, you will try to push your master branch without changes.
You have two options
1.Merge your changes with master and push them.
Commit your changes in your actual branch, then merge them with master
git commit -a - m "your messages"
git checkout master
git merge your_feature_branch
git push heroku master
2.Push your changes from your actual branch
git push heroku your_feature_branch:master