mck
mck

Reputation: 1404

How to reset/revert Heroku Config?

Since each time you add a key/value using heroku config:add it returns a version, is it possible to revert to an older version?

If not, is it possible to clear all of the heroku config, since I've got a local .env that I'd like to push, but it does not clean out the other variables.

Reason I cannot use heroku config:unset is because of some bug, I was able to put an empty key there.

: true

Not I can't get rid of it, and the build keeps failing -_-'

** UPDATE **

just found heroku releases

Upvotes: 4

Views: 3412

Answers (2)

sanjay
sanjay

Reputation: 1

https://devcenter.heroku.com/articles/releases#rollback

It will give more details of release. $ heroku releases:info v24

v24 is your release name, which can vary accordingly.

Upvotes: 0

CraigKerstiens
CraigKerstiens

Reputation: 5979

Running heroku rollback would rollback to the previous release, and you can also specify an older version with it. The full heroku docs have more on this - https://devcenter.heroku.com/articles/releases#rollback

Upvotes: 2

Related Questions