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

Difference between revisions of "Orion/Documentation/User Guide/Reference/Git Log page"

Line 1: Line 1:
The <b>Git Log</b> page allows you to browse the commit history of a Git repository branch. The page can show all the commits on a given branch, or focus on only the commits that involve changes to a particular file or directory. You can browse both local and remote branches using this page.  What you see in this page depends on how you navigated to it:
+
The <b>Git Log</b> page allows you to browse the commit history of a Git repository branch. The page can show all the commits on a given branch, or focus on only the commits that involve changes to a particular file or directory. You can browse both local and remote branches using this page.  What you see in this page depends on how you navigated to it.
 +
 
 +
== Opening the Git Log page ==
 +
 
 +
There are many ways to open the Git Log page:
 
* Choose a file or directory in the [[Orion/Documentation/User Guide/Reference/Navigator page|Navigator page]], and select <b>Git Log</b> in the <b>Actions</b> column. This will show all commits in your current local branch that involve changes to the chosen file or directory.
 
* Choose a file or directory in the [[Orion/Documentation/User Guide/Reference/Navigator page|Navigator page]], and select <b>Git Log</b> in the <b>Actions</b> column. This will show all commits in your current local branch that involve changes to the chosen file or directory.
 
* Choose a file or directory in the [[Orion/Documentation/User Guide/Reference/Navigator page|Navigator page]], and select <b>Git Remote</b> in the <b>Actions</b> column. This will show all commits in the current remote tracking branch that involve changes to the chosen file or directory.
 
* Choose a file or directory in the [[Orion/Documentation/User Guide/Reference/Navigator page|Navigator page]], and select <b>Git Remote</b> in the <b>Actions</b> column. This will show all commits in the current remote tracking branch that involve changes to the chosen file or directory.
* From the [[Orion/Documentation/User Guide/Reference/Git Status page|Git Status page]]
+
* From the [[Orion/Documentation/User Guide/Reference/Git Status page|Git Status page]], click the <b>Complete log</b> link next to either the local or remote tracking branch. This will open the complete log for either of those branches.
 +
* From the [[Orion/Documentation/User Guide/Reference/Repositories page|Repositories page]], click <b>Show Git Log</b> in the <b>Actions</b> column next to any local or remote branch of a repository. This will show the entire commit history of the corresponding branch.
 +
* From the <b>Git Log</b> page itself, there are <b>Switch to Remote</b> or <b>Switch to Local</b> links in the toolbar to navigate between the logs of local and remote tracking branches.
  
 +
== Operations from the Git Log page ==
  
 
From this page you can open the contents of a commit in an editor, compare any two commits, compare any commit with the working tree, or tag a commit. In the toolbar on the far right hand side, there is a command to push any unreleased changes to the associated remote repository, if applicable.
 
From this page you can open the contents of a commit in an editor, compare any two commits, compare any commit with the working tree, or tag a commit. In the toolbar on the far right hand side, there is a command to push any unreleased changes to the associated remote repository, if applicable.
  
 
<p><img src="images/02m7-git-log-page.png" alt="Git log page"/></p>
 
<p><img src="images/02m7-git-log-page.png" alt="Git log page"/></p>

Revision as of 10:34, 21 June 2011

The Git Log page allows you to browse the commit history of a Git repository branch. The page can show all the commits on a given branch, or focus on only the commits that involve changes to a particular file or directory. You can browse both local and remote branches using this page. What you see in this page depends on how you navigated to it.

Opening the Git Log page

There are many ways to open the Git Log page:

  • Choose a file or directory in the Navigator page, and select Git Log in the Actions column. This will show all commits in your current local branch that involve changes to the chosen file or directory.
  • Choose a file or directory in the Navigator page, and select Git Remote in the Actions column. This will show all commits in the current remote tracking branch that involve changes to the chosen file or directory.
  • From the Git Status page, click the Complete log link next to either the local or remote tracking branch. This will open the complete log for either of those branches.
  • From the Repositories page, click Show Git Log in the Actions column next to any local or remote branch of a repository. This will show the entire commit history of the corresponding branch.
  • From the Git Log page itself, there are Switch to Remote or Switch to Local links in the toolbar to navigate between the logs of local and remote tracking branches.

Operations from the Git Log page

From this page you can open the contents of a commit in an editor, compare any two commits, compare any commit with the working tree, or tag a commit. In the toolbar on the far right hand side, there is a command to push any unreleased changes to the associated remote repository, if applicable.

<img src="images/02m7-git-log-page.png" alt="Git log page"/>

Back to the top