Manage Dataset Branches

Manage Dataset Through Branches

  • Without affecting the original dataset and other data versions, the branch function allows users to safely make changes as needed on different branches and conduct comparative experiments on datasets.
  • Multiple users can edit their own datasets simultaneously through branches to find out the relationship between commits or branches and trace the source of each version, without interfering with each other's work.

Default Branch

  • When creating a dataset on TensorBay, the default branch is automatically created as the first branch and is named as "main" by default. Users can rename or switch the default branch.

View Branch

  • After the branch is successfully created, it will automatically switch to the Branch Details page.
  • Enter the dataset details page, click the drop-down list in the upper left corner, switch to the target branch, view the data details of the latest version, and filter or create a draft to modify the dataset.

Create Branch

  • Create a new branch based on the original branch/ Tags/ Commit
    • Enter the Dataset Details page, click the drop-down list in the upper left corner to select a branch or tag and switch versions; or click View All Tags to enter the commit records, and click the icon on the right to switch.
    • After entering the corresponding Dataset Details page, click the drop-down list in the upper left corner to switch versions, and enter the new branch name in the Find or Create Branch input box to create a branch.

Delete/Rename Branch

  • Go to the details page of the branch list.
  • For any branch, click the Delete / Rename button on the right to delete or rename the branch.
The default branch can be renamed but cannot be deleted.

Switch Branch

  • After entering the details page of the branch list, click the switch branch button and select the target branch that needs to be set as the default branch.
Branch List
Switch Default Branch