How to create a local branch from Talend Studio (Git only)

Talend Studio Developer Guide

EnrichVersion
Cloud
EnrichProdName
Talend Integration Cloud
task
Design and Development

When working on a Git managed project, you can create local branches from within your Talend Studio and keep your changes local until you push them to the Git server.

Your Talend Studio provides two options for you to create a local branch:

Note

In the context of Git branching, master can be regarded as a special branch.

Creating a new branch based on a selected source

  1. From the Talend Studio, click the top bar of the Repository tree view and select New Branch from the drop-down menu.

  2. In the [New Branch] dialog box, select the source, which can be a remote or local branch your local branch will be based on, enter a name for your new branch, and click OK.

  3. When asked whether to switch to the newly created branch directly, click OK to switch or click Cancel to stay on the current branch.

Checking out a remote branch as a local one

  1. From the Talend Studio, click the top bar of the Repository tree view, select the source from the drop-down menu, and then select check out as local branch from the sub-menu.

    Note

    In this option, the source can only be a remote branch.

  2. In the [Checkout as local branch] dialog box, enter a name for your new branch, and click OK to create the branch and switch to it.

Now the branch is created. You can work on it and manage it using tools provided by your Talend Studio.

Related topics: