How to Check Git Commit History Of A Particular Line In Eclipse

Suppose you want to check Git commit history of a specific line from a Java class file or for that matter any other source code. You need to check who did that & figure out if any JIRA ticket is associated in the commit message. You don’t want to scan through all the commit history of that file as you don’t know when the line was changed, There is a simple solution in Eclipse. Just right click on the source file & select Team -> Show Revision Information .  And that should be it. Now you can click on the line number on the left side and it will show revision history of that.

Leave a Comment