Version control is critical when working with complex analyses and workflows, especially when collaborating with your peers. Fabi offers version control connectors to help you save, share and update your code in just a few clicks.
Once you’ve connect Fabi to GitHub, selecting Repository Sync will open up a modal. You’ll be prompted to provide:
Repository name
Branch (you can also create a new branch from here)
Path prefix
The Smartbook will be pushed to GitHub as a YAML file in a folder marked by the unique Smartbook ID. You can think of Smartbooks as projects, these may contain more than just the single main file.
If you’re publishing your Smartbook or workflow, you can configure your settings to automatically commit updates on publish. This is a convenient feature if you’re quickly iterating on a data app or workflow and want to keep the source code up to date.
To pull data from your repository, simply specify the repositoy, branch and prefix that you want to pull from. In most cases, if you’ve pushed your code from the Smartbook, most of this information should already be populated.