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 version up)
For those not familiar with it, Heroku's create script generates a remote git repository that you push to. Upon push, the code is deployed magically.
Heroku adds a remote repository to the local one in the form:
$ git remote add heroku [email protected]:appname.git
More info in Heroku's manual "Deploying with Git"
Question is: How can I see latest version in Heroku repository?
heroku releases:rollback
, then the version in production will change, but the Heroku repository will stay absolutely the same. Useheroku:releases
to see what is in production. – Stesha