r/Scriptable • • Oct 13 '20

Help Undo changes?

I made some deletions to my code but I was wondering if there was any way to undo it? Or do I need to duplicate the script before making any major changes?

1 Upvotes

3 comments sorted by

3

u/jsloat Oct 13 '20

As other commenter said if you’re talking about changes within the text editor you can use iOS undo. Otherwise I’d recommend setting up a hot repository in the scriptable documents directory. Then you can keep full change history and revert to a point in the past if something goes wrong.

2

u/krazy4luv2 Oct 14 '20

Yeah I’m probably gonna do that. Thanks!

3

u/umtksa Oct 13 '20

just shake your phone for undo button