I'm literally falling apart at the seams with angry, nervous laughter. Someone PLEASE help me...
Screenshots: https://medium.com/p/4ff0a5af7f53
git status
, I am on working branch Redesign
with nothing to commit and a clean working directory. rails server
and navigate to localhost:3000
. Yay pretty website, let's just denote it with a variable ABC git push heroku Redesign:master
, it tells me everything is up to date Rollback
and run a git pull
from Heroku Rollback
branch I'm going to run rails server
expecting to see the XYZ old site that I just pulled from Heroku By the way running the push with --force
does not help. When I run heroku releases there is no record of this push.
WHAT IS HAPPENING????????
Sorry if I seem desperate... I've been at this for 2 hours
Ok this was dumb of me, @Chris I think you were going to stumble upon it. I had done a heroku rollback
and didn't realize that when you rollback on Heroku, the git repo head commit doesn't change.
This is the thread that solved it: heroku rollback didn't update the HEAD remote branch, did it?
git add .
git commit -a -m "Message"
Have you performed these before you try and push? You have to update your local git repo before sending to Heroku
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.