Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359406

Summary: View history of a branch which is not checked out
Product: [Technology] EGit Reporter: Deepak Azad <deepakazad>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.org, remy.suen, robin
Version: 1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Deepak Azad CLA 2011-09-29 07:55:59 EDT
In Git Repositories view you can right click on a repository and select "Show in > History" from the context menu. This shows the history of the currently checked out branch.

However, I often want to see the history of a branch which is not checked out. For example to quickly compare 2 branches, or to make sure I am switching to the right branch before switching to it. But there is no way to do so from Egit.

This can be achieved via command line by - git log <branch name>
Comment 1 Robin Stocker CLA 2013-05-20 13:57:29 EDT
In the repositories view, you can right-click on a branch and select Show In > History. See bug 381520 for selecting a branch in the history view.