sanity login
(login with GitHub)sanity dataset export develop
(accept default output, it will backupdevelop
in a tar file)sanity dataset export schema
(accept default output, it will backupschema
in a tar file)sanity dataset delete develop
(on prompt, type the name of the dataset to confirm delete)sanity dataset import ./schema.tar.gz develop --replace
sanity graphql deploy
sanity deploy
Created
August 17, 2020 13:51
-
-
Save dreamyguy/0985558620833d7bbb03d11df5524c56 to your computer and use it in GitHub Desktop.
Sanity: Replace datasets (replace 'develop' with 'schema', for instance)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment