Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Orion/Documentation/User Guide/Reference/Git Commit page

< Orion‎ | Documentation‎ | User Guide
Revision as of 16:26, 16 October 2012 by Susan franklin.us.ibm.com (Talk | contribs) (Git Commit diffs)

Git Commit page

The Git Commit page allows you to see a detailed description of a single Git commit. This page includes all the usual Git commit details and shows in-line diffs for commit changes. You can also perform operations on commits from this page, such as tagging and cherry-picking the commit into your current active branch.

Opening the Git Commit page

To open the Git Commit page, click on any commit link in the Git Log, Git Status, or Repositories page.

You may also use the Open Commit command (Ctrl+Shift+H) from Git Log or the Repositories page, which will open the commit page for the given commit name (sha1).

Open commit command dialog

Git Commit details

The Details section includes all the usual Git commit details such as author, committer, summary, and parent commit. In the Tags section, any tags on the commit are shown, and actions for removing tags or adding a new tag are available.

Git commit details

Changes

The Changes section shows a list of all the file changes that make up the commit. Each commit can be expanded to show the diff inline, or the expand all/collapse all buttons at the top of the section can be used to open or close all change diffs. Once a diff is opened, you can toggle between Side by side or Unified views of the diff. You can also click the Compare link to open the compare page, or Working Directory Version to see the current file version in the editor.

Git commit diff

Back to the top