Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Tracking Changes in Sanity Studio Projects

5 replies
Last updated: Aug 24, 2020
Hi! I have a question: If I have a project that is deployed to *.sanity.studio and I remove the development files from my local machine, is there a way of “cloning” the project (including schemas etc…) from the deployment server? Or should I make sure to track the changes with git or similar (probably a good idea anyway… :))?
Aug 24, 2020, 8:22 AM
Hi!You should definitely track changes with git
😉
Aug 24, 2020, 8:26 AM
you can wrangle out the schemas from the compiled app bundle, but it's definitively better to put it into git. You can even deploy it from GitHub: https://maxschmitt.me/posts/deploy-sanity-github-actions/
Aug 24, 2020, 8:30 AM
you can wrangle out the schemas from the compiled app bundle, but it's definitively better to put it into git. You can even deploy it from GitHub: https://maxschmitt.me/posts/deploy-sanity-github-actions/
Aug 24, 2020, 8:30 AM
Hi!You should definitely track changes with git
😉
Aug 24, 2020, 8:26 AM
Thanks! Will definitely do that 🙂. Luckily not actually in the situation outlined above!
Aug 24, 2020, 8:55 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?