find oldest line of code in git repository?

Viewed 416

Is there any way to find the oldest line of code currently in the codebase? Out of curiosity, I'd like to be able to find the line or lines that have been unchanged for the longest time. I can imagine there is some way of running git blame on each file in the repository and processing each of them, but I was wondering if there is a simpler option.

1 Answers

You can use git blam that will tell you who and when single line updated in a file and you can easily find oldest update line Here is command

git blame triple_welcome.rb

Related