Manage > In Git Repository
TopBraid’s Git integration can be used to synchronize asset collections with Turtle files on a Git repository such as GitHub. This can serve as a backup of the collections, to make them available to external applications or to review changes.
Tip
TopBraid will save your asset collections using a sorted Turtle format, which means that the files are suitable for versioning systems like Git. For example, if someone added one statement then the new Turtle file will contain exactly one new line and all other lines remain unchanged, creating small diffs.
Git integration is available when the administrator has configured Git support. In this case, the New Button will have a button Import Asset Collections from Git, allowing you to install one or more asset collections from that repository.
Once the manager of an asset collection has activated Git support, two features will become available:
- Export > Commit to Git Repository can be used to commit and push the latest version of an asset
collection (or all asset collections).
- Import > Reload from Git Repository can be used to replace the current content with whatever
version is currently found on the Git repository. This can, for example, be used to roll back to another version or switch to another branch.
Note
TopBraid’s user interface does not include support for advanced operations such switching branches. This needs to be done outside of TopBraid, on the local copy of the repository that TopBraid is connected to.
See Also
Further Reading on TopBraid