Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359406 - View history of a branch which is not checked out
Summary: View history of a branch which is not checked out
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 07:55 EDT by Deepak Azad CLA
Modified: 2013-05-20 13:57 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.