Home > Net >  How can I have my previous code through rollback on Heroku?
How can I have my previous code through rollback on Heroku?

Time:02-04

I have a problem with my app when I uploaded it on heroku, I used the rollback to go back to a previous version without errors and it seems to be fine when I give it open app.

However, the code in pycharm shows the same errors, and if I commit, I get the errors of the latest version as if the code does not have the previous version, can I do something to recover that code?

CodePudding user response:

You can just rollback to whatever previous version you like and then use

heroku git:clone -a APP-NAME

to get your code back.

  •  Tags:  
  • Related