For deploying to Heroku, I use git push heroku master. But how do I see which revision I pushed up to heroku? (I\'m often in doubt if I pushed the recent versio
if you've run into the situation, like i just did, where a co-worker rolled back your heroku app to a release that doesn't show in heroku releases because they only keep track of 2 releases... the checkout of heroku/master method won't help, because HEAD is not what is deployed anymore.
the undocumented to the rescue:
$ heroku console "ENV['COMMIT_HASH']"
"12abcdef"