recovery - My apps script code has seemingly disappeared overnight. How can I recover it? -
i not sure title this, title accurate. apps script code spent last few days working on has , vanished project.
i have web app re-wrote javascript on last new days, working fine , deployed new version of web app. however, upon opening apps script file today changes no longer there. published web app still works though, though code no longer exists in project.
i can recover code published web app copying elements page, had made lot of changes app afterwards.
key points:
- changes made saved, deployed new version of of new code.
- none of code last few days exists in files in project, it's if never worked on @ all.
how did happen? how can recover "lost" code google apps script project?
i figured out. going delete question, thought better post answer else runs this.
the cause:
it looks had left tab open on work pc apps script project open. when changes made, don't update on views google docs/sheets. according revision history, looks overwrote project time in middle of night.
the fix:
you can see going file> see revision history can revert previous version of project.
Comments
Post a Comment