The Git perspective provides the interface to Git operations.
The
Git Repositories view displays the connected Git repository as a tree structure:
- The root node represents the repository itself. The node text indicates the name of the
repository and its location in the local file system.
- The Branches node serves for browsing and manipulating tags.
- The Tags node serves for browsing and manipulating tags and branches.
- The References node lists references other than branches and tags, most notably
the "HEAD" and "FETCH_HEAD" symbolic references.
- The Remotes node serves for browsing and manipulating remote configurations used
for Fetch and Push.
- The Working Tree node displays the location and structure of the working
directory in the local file system (only in case of a development, or non-bare repository;
this node is always a leaf for bare repositories).
The editor area allows you to modify the contents of files. For details, see Editor area.
The
History view displays commits to the repository in the following panes:
- Commit Graph (upper pane): Displays the commit history in the reverse
chronological order, with the newest commit displayed on top.
- Revision Comment area (left pane): Displays the commit message and a textual Diff
of the file or files in the commit.
- Revision Detail area (right pane): Displays the table of files that were changed
by the commit.
The
Git Staging view displays the interface for staging and committing changes to the
repository:
- Unstaged Changes pane: Displays the unstaged changes.
- Staged Changes pane: Displays the changes that have already been added
(“staged”) to the Git index.
- Commit message editor: Allows you to edit the commit message.
- Commit and Commit and Push buttons: Commit the staged changes.