Handling uncommitted items in the Git Staging view - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29
Available in...

Cloud API Services Platform

Cloud Big Data

Cloud Big Data Platform

Cloud Data Fabric

Cloud Data Integration

Cloud Data Management Platform

Data Fabric

About this task

In the Talend Git Staging view, you can manage your changes based on your needs before committing them to Git.

Talend Git Staging view.

Note that if you have installed the 8.0 R2022-09 Talend Studio monthly update or a later one provided by Talend, the email instead of the login name in Talend Management Console is used as the Git author and committer.

Procedure

  • In the Unstaged Changes area:
    • Right-click an item and select Add to Index from the contextual menu to move the item to the Staged Changes area to make the item ready to commit.

      Alternatively, you can click the Add icon to add the selected items to the Staged Changes area, or click the Add all icon to add all the unstaged items to the Staged Changes area.

    • Right-click an item and select Compare with Index compare the changes on the item with the staged version.

      If the item has not been previously added to the Staged Changes area, a comparison will be made with the head version.

      The compare view opens, where you can compare your changes with the staged version or the head version and handle them in the same way as resolving conflicts. For details, see Resolving conflicts in compare editors.

    • Right-click an item and select Replace with Index from the contextual menu to replace the changes on the item with the staged version.

      A Discard Local Changes dialog box opens. If you click Discard Changes, the item will be removed from the Unstaged Changes area.

    • Right-click an item and select Delete, if available, to delete it physically.

      Alternatively, you can delete such an item by selecting it and pressing the Delete key.

      Items that do not have the Delete option on the contextual menu can be deleted only in the Repository tree view.

  • In the Staged Changes area:
    • Right-click an item and select Compare with Head Version compare the changes on the item with the head version.

      The compare view opens, where you can compare your changes with the head version and handle them in the same way as resolving conflicts. For details, see Resolving conflicts in compare editors.

    • Right-click an item and select Remove from Index from the contextual menu to move the item back to the Unstaged Changes area.

      Alternatively, you can click the Remove icon to move the selected items back to the Unstaged Changes area, or click the Remove all icon to move all the staged items back to the Unstaged Changes area.

  • In either the Unstaged Changes or Staged Changes area,
    • Right-click an item and select Replace with Head Version from the contextual menu to replace the changes on the item with the head version.

      A Discard Local Changes dialog box opens. If you click Discard Changes, the item will be removed from the Unstaged Changes or Staged Changes area.

    • Right-click an item and select Copy Path to copy the repository tree path of the item to the clipboard.
  • View and copy the author name and committer name of the item.