Cloning a previous version on Heroku

风流意气都作罢 提交于 2019-12-03 12:46:26

When you do rollbacks, the head of your Heroku Git repo will no longer reflect the running state of you app. Check your releases:

$ heroku releases
Rel   Change                   By                    When
----  ----------------------   -------------------   -------------
v52   Config add AWS_S3_KEY    shanley@heroku.com    5 minutes ago
v51   Deploy de63889           kendra@heroku.com     7 minutes ago
v50   Deploy 7c35f77           katie@heroku.com      3 hours ago

The de63889 values are Git commit shas. With those, you can check out that commit locally:

git checkout de63889
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!