What is version control?
Version control is a way of recording changes to your script as you write so that you can restore them at any point. This allows you to make nondestructive amendments to your work, useful for experimenting or deviations to your original idea.
Enabling Version Control
To enable automatic version control, where we create a version of your script every X number of minutes, start by opening the preferences panel whilst editing a script.
From that, select 'Saving' and click the 'Save Versions Automatically' checkbox to enable automatic version creation.
Creating a Version Manually
You can create any number of versions manually, allowing you to add a title and comments.
To do so, under the 'File' menu, click on 'Version Control'.
Select 'Name this version' and a prompt will ask you for the title and description. This will create a new version of your script and save the named version.
To view all previous versions, under the same menu select 'View all versions' and a new interface will open up.
When you want to view a particular version, just click on it and it'll load in the main viewer. The version you are currently working on will always be selected by default.
Restoring a Version
When you are viewing a version that's not currently active, you are given the 'Restore this version' option underneath the description.
Downloading a Version
You are able to download or print a version without restoring it, to do so click on the version you want and use the icon in the top right.
Usual information to remember when working with version control.
- You never go back to a previous version. When selecting 'Restore this version' you are creating a new version that is based off the version you are restoring. You'll be able to see which version it was restored from in the information.
- We only keep up to 50 unnamed versions. This is to help us manage the amount of data we are storing.