benoitr
benoitr

Reputation: 6105

Heroku - How can I undo a push on heroku?

After pushing my app on heroku, my app crashes. I don't want to make a git rebase before getting heroku last version (if I do so, I'll get fast-forward errors...)

I would be pleased to know if there is a command to do it (I don't find it on the heroku doc)

Thank you!

Upvotes: 39

Views: 20386

Answers (2)

jpw
jpw

Reputation: 19257

actually now heroku has a rollback!

http://blog.heroku.com/archives/2010/11/17/releases/

heroku rollback

Upvotes: 84

yfeldblum
yfeldblum

Reputation: 65445

Use git push heroku --force to push your local HEAD.

Upvotes: 29

Related Questions