Forums

Restore environment and files to active WebApp

Hi - Is there a method to restore the python environment to the web app currently running? The purpose is to be able to create a git branch of the production code. What leads to this question is: I have a detached git head running in production; I tried to create a branch and push it to git. I failed. Made a bunch of mistakes and I would like to take the code that is running and try again.

If this is not the right question or unclear please let me know.

Thanks

No, there's no way to do that. Once the code is loaded into Python, it's not really possible to extract the original source from the running app.