How do I download previous saved revisions of a Google Apps Script?

前端 未结 2 1489
忘掉有多难
忘掉有多难 2021-02-15 11:45

I am still attempting to recover from somehow \'loosing\' a Google Apps Script when I created a copy of the script to fork the code to another project... My thought was to atte

2条回答
  •  忘了有多久
    2021-02-15 12:37

    FYI, the Apps Script API can get project files from a previous version number: https://developers.google.com/apps-script/api/reference/rest/v1/projects/getContent

    If you'd like to see this in the Apps Script CLI, clasp, like clasp pull 3, I'm sure I could add this feature. https://github.com/google/clasp/ Just file a new issue.

提交回复
热议问题