I'm building an application which I'm also testing in Heroku. I ran into some problem today and had to rollback one commit in my local git repo, but Heroku now won't recognize my changes saying that "everything is up to date".
So, running
git push heroku master
heroku responds with
Everything up-to-date
which isn't true.
UPDATE: Things I've tried
git push -f heroku master
git push --force heroku master
git push heroku +master
git push --force heroku +master
Did some changes in the source code and then
git add.
git commit -a -m "Message" #(Then this commit shows in my git explorer)
git push heroku master #Everything up-to-date
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…