Collaboration and version control

The best version control for design is the version control developers have been using for decades. Git, Subversion, and other source control systems are incredibly well tested, robust, and full featured methods of allowing large teams to work on code together.

Why should design be any different?

Taking this approach means some changes to how design projects are typically structured. Skala documents are plaintext XML that is easily diff-able and version control friendly. Skala projects are simply files and folders that can be organised how source code is typically structured. Using Git with Skala also means branches, pull requests and other features can be used. This is how we work on Skala itself.

The industry trend is a shift to proprietary cloud-backed collaboration, making it harder to control your data, and more susceptible to downtime. We don’t like this change. We think there is a better way.

For those who are after a visual way to work with Skala and Git, we recommend GitHub Desktop, Tower, Fork, and Sourcetree.

Git integration #

Skala also has some Git features built in. When a document is in a Git repository, Skala shows the current branch and whether the document has been modified, lets you browse the document’s history with previews of each version, and can open any previous version as a new document.

Further reading: Git integration

XML document format #

Skala’s documents are XML-based. They’re pretty sensible and easy to alter in your favourite code editor. If you feel up to it, you can save some Skala documents and have a poke around to see how they’re put together.

Documents can also be saved with Xz compression, which makes them smaller, but no longer plaintext. If you’re using version control, we recommend choosing None (Best for Git) from the Compression popup when saving.

Skala’s open source document schema can be found here: Skala document schema

We also have some tips on ways to automate document changes.