Orion/Documentation/User Guide/Reference/Git Log page
Git Log page
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:
- Select a file or directory in the Navigator page, and choose Git Log in the Actions menu. This will show all commits in your current local branch that involve changes to the chosen file or directory.
- Select a file or directory in the Navigator page, and choose Git Remote in the Actions menu. 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 View Full Log link in the commits section.
- From the Repositories page, click the Git Log link 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, the Related menu can be used to switch between the local and remote tracking branches.
Operations from the Git Log page
Once on the Git Log page, you will see a list of commits in chronological order. The title area lets you know what branch and file or directory the page is focused on. In the example below, we are viewing the local branch called master in the repository called Orion Client.
If you are viewing a local branch that is not up to date with its remote tracking branch, a Push All command is available in the toolbar to push your unreleased changes. When viewing a remote branch, Fetch and Merge commands are available in the toolbar to bring remote changes into your local repository and working copy.
Further to the right, there are additional columns showing the tags and branches corresponding to each commit, and actions for tagging and cherry-picking individual commits.
Hover on any commit in the list to see a tooltip dialog with detailed information about the commit. It includes author information, the commit message, a link to the parent commit, and the SHA-1 hash that uniquely identifies that commit in the Git repository.
Git Log for single files
When viewing the Git log for a single file, some additional capabilities are available. First, the breadcrumb in the title area allows you to navigate to the Git log list for any parent of the currently viewed file. Additional commands are also available in the Actions column. The Open link will open the revision of the current file as it appeared in that commit. You can also compare the contents of that commit to the current contents of that file in your working tree. Finally, if you select any two files, a Compare With Each Other command appears in the toolbar, to compare the differences in that file between the selected commits.