David542
David542

Reputation: 110093

Github history on line item

I'm looking to see who committed a particular change to a file on a particular line number. For example:

enter image description here

Is there a way to do this? The current way I am doing this is looking at every single code push to this file, and there are quite a lot to review.

Upvotes: 0

Views: 71

Answers (1)

Shang Jian Ding
Shang Jian Ding

Reputation: 2126

Yep, look up git blame.

git-blame - Show what revision and author last modified each line of a file

See also: https://www.git-scm.com/docs/git-blame

Upvotes: 1

Related Questions