Git operations what Talend Studio does behind the scenes
This article
outlines how your Talend Studio interacts with the GitHub when you carry out Git related
operations, and gives the equivalent Git commands corresponding to the Studio actions. For
more information on various Git operations in the Studio, see your Talend Studio User
Guide.
When working on a Git managed project, you can carry out various Git operations to your project branches from within your Talend Studio.
EnvironmentThis article applies to users of Talend subscription products from version 6.2 onward.
Studio actions and equivalent Git commandsIf you are working in remote mode:When you... | Talend Studio... |
---|---|
Save or unlock a project item, depending on the Commit mode setting in the Talend Administration Center |
|
Select New Branch from the pull-down menu | Creates a local branch based on the selected
branch.git branch new_branch_namebase_branch_name |
Select switch from the pull-down menu |
|
Select check out as local branch from the pull-down menu |
|
Select More > Add Tag from the pull-down menu |
|
When you... | Talend Studio... |
---|---|
Save or unlock a project item, depending on the Commit mode setting in the Talend Administration Center |
|
Select Push from the pull-down menu |
|
Select Pull And Merge Branch from the pull-down menu |
|
Select New Branch from the pull-down menu | Creates a local branch based on the selected
branch.git branch new_branch_namebase_branch_name |
Select switch from the pull-down menu |
|
Select check out as local branch from the pull-down menu |
|
Select More > Add Tag from the pull-down menu |
|
Select More > Reset from the pull-down menu | Performs a reset to the current
branch.git reset --hard origin/branch_name |