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
It'll say
Fetching repository, done.
Everything up-to-date
But if I go and look at the app, it's all old code. I did revert the site back to another version in Heroku about 15 days ago, but pushed updates to it since then and they worked.
Why is heroku not getting the most current files from my github repository? Is there a way to just reset the app and push the files from github again? I have production data in the database so I do NOT want to touch it.
Thanks in advance!!
Kindly confirm your current branch is master.
git branch
If the pointer is not pointing the master, then check out to master branch
git checkout master
Commit your changes and try to push to heroku
git commit -am "xxxyyzzz"
git push heroku master