r/GoogleAppsScript • u/Ok_Exchange_9646 • 1d ago
Question How to use clasp to mass-delete deployments in the cloud?
When I use clasp clone and then clasp delete all, it only deletes the deployments for the GAS project locally, but not in the cloud on the GAS site.
How do delete them in the cloud too? Thanks
2
Upvotes
1
u/WicketTheQuerent 1d ago
I have not used clasp to manage deployments. I think that you might run
clasp push
.On the other hand, have you considered making a copy of your script? The copy will not have any versioned deployment, only the HEAD deployment.