When working on a local branch of a Git managed project, your changes are automatically committed to your local repository when they are saved. However, they are not automatically pushed to the Git server - you need to push them manually using the Git Push tool provided within your Talend Studio.
Once a remote branch associated with your local branch is created on the Git server upon your first push, the number of new commits not yet pushed to the associated remote branch will be indicated on the top bar of the Repository tree view. You can choose to push such commits to the Git server or abort them by reverting your local branch to the previous update state.
This section describes how to push local changes to the Git server. For information on reverting a local branch, see How to revert a local branch to the previous update state (Git only).
To push changes to the Git server, do the following:
Save your changes so that they are committed to your local repository.
Click the top bar of the Repository tree view and select Push from the drop-down menu.
If any editor windows are open, you will see a warning message. Click OK to close the editor windows and proceed with the push action.
When the push operation completes, a dialog box opens informing you that your changes have been pushed to the Git server successfully. Click OK to close the dialog box.
Your changes have now been pushed to the Git server. If this is the first push from your local branch, a remote branch with the same name is automatically created as the associated branch to hold the commits you push from your local branch.