git blame
git-blame - Show what revision and author last modified each line of a file
Example
When you are interested in finding the origin for lines 40-60 for file foo
git blame -L 40,60 foo
git blame -L 40,+21 foo git-blame - Show what revision and author last modified each line of a file
When you are interested in finding the origin for lines 40-60 for file foo
git blame -L 40,60 foo
git blame -L 40,+21 foo