Updating a local branch
About this task
When working on a local branch of a Git managed project, you can update your branch with information from another branch using the Git Pull and Merge tool provided by your Talend Studio.
To pull and merge information to your local branch, do the following:
Procedure
- Save and commit your changes to your local repository.
- On the top bar of the Repository tree view, select Pull & Merge from the operation drop-down menu.
- In the Select a branch to merge or update dialog box, select the source branch to pull from, which can be a remote or local branch, and then click OK to complete the pull and merge operation.
Results
Your local branch is now up to date. Depending on the source branch you selected, a dialog box opens to show the pull or merge result:
-
If the source branch is the default branch, which is the remote counterpart of the local branch, the dialog box shows the pull result.
-
If the source branch is another one, the dialog box shows the merge result.