When you deploy to Heroku but it doesn't reflect well

Introduction

I will write it as a memorandum.

Conclusion

I was returning too much with "Command + z".

process

After deploying heroku open When I launched the browser with, it is not reflected for some reason. So, just in case, I checked it on the local host first. Then, the code I should have written disappeared. It seems that it disappeared because it returned too much with "Command + z".

Due to such a mistake, I spent an hour pushing and migrating barren time, so let's check it carefully before proceeding.

Recommended Posts

When you deploy to Heroku but it doesn't reflect well
I'm writing test code using RSpec, but it doesn't work
Rails does it automatically and it helps, but I was surprised
When you deploy to Heroku but it doesn't reflect well
Steps to deploy to Heroku
Things to check when it doesn't work with proguard
Deploy Vapor Project to Heroku
How to deploy on heroku
I can deploy to heroku, but I get an error and can't open it [Cause: MySQL]
When you have introduced devise but want to add more columns
Deploy Rails on Docker to heroku
Don't forget to release it when you get the object from S3!
What to do if you get an error when you hit Heroku logs
I can deploy Heroku, but I get an error and can't open it
Deploy to heroku with Docker (Rails 6, MySQL)
Error when trying to use heroku command
Deploy to Heroku [Ruby on Rails] Beginner
When I deployed it to heroku, "We're sorry, but something went wrong. If you are the application owner check the logs for more information." Stood out.