back to content

Branch Files or Folders

Branch command allows you to branch the latest version or any history version of an item.

Branching copies an item from one location to another. To branch an item, please refer to the followings:

To branch the latest version of an item

  1. In the Source Control explorer, select the file/folder you want to branch.
  2. Click Branch button on the toolbar or select the Branch command from either the Source Control menu or by right-clicking the selected item.
  3. In the Branch dialog box, modify the location and name for the new branch in the Target text box. You can also click Browse to move to a location.
  4. Enter a comment if you'd like to add a comment for the branch.
  5. Click OK to branch the item.

To branch a history of an item

  1. In the Source Control explorer, right-click the file/folder and click Show History.
  2. In the History Explorer, select the file/folder you want to branch and click Branch.
  3. In the Branch dialog box, modify the location and name for the new branch in the Target text box. You can also click Browse to move to a location.
  4. Enter a comment if you'd like to add a comment for the branch.
  5. Click OK to branch the item.

Or

  1. In the Source Control explorer, right-click the file/folder and click Show Labels.
  2. In the Show Labels dialog box, right-click the labeled item and click Branch to show the Branch dialog box.