How to switch between branches or tags

Talend ESB Studio User Guide

EnrichVersion
6.4
EnrichProdName
Talend ESB
task
Design and Development
EnrichPlatform
Talend Studio

Talend Studio allows you to switch between branches of a project without the need of restarting your Studio.

Once you open a project having different branches or tags, you can switch between the trunk/master and any of the existing branches or tags and between different branches or tags.

Note

Close all open editors in the design workspace before trying to switch to another branch or tag. If not, a warning message will display prompting you to close all open editors.

If you are working on an SVN managed project:

  1. From Talend Studio, click the icon at the upper right corner of the Repository tree view to open the [Branch management] dialog box.

  2. Expand the branches or tags node, and select the branch or tag you want to switch to and then click Switch.

If you are working on a Git managed project:

  1. If you are currently on a local branch and you have changes not yet pushed to the associated remote branch, push them first. For more information, see How to push changes on a local branch to the remote end (Git only).

  2. Click the top bar of the Repository tree view to open a drop-down menu.

  3. Select the target branch or tag from the drop-down menu, and then select switch from the sub-menu.

Note

When you switch to a local branch and changes are found on the associated remote branch, those changes are automatically synchronized to the local branch.

The switch operation may take some time. Wait till the operation is finalized. Then, the Repository tree view switches to show the project items of the selected branch. You can read the directory of the active branch on the top bar of the Repository view.