The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Practical Git: Show who changed a line last with git blame

Practical Git: Show who changed a line last with git blame

1:34
When working on a file, we often want to know who made certain changes last; we can use `git blame` to see details about the last modification of each line in a file. In this lesson, we show and example of using `git blame` to see who made the last change on a line in a file, and then we use the output of `git blame` to use in other tools like `git log` to see the full context of why the change was made and what other parts of the code base were effected at the same time as the line from `git blame`.
Watch this lesson now
Avatar
egghead.io

When working on a file, we often want to know who made certain changes last; we can use git blame to see details about the last modification of each line in a file. In this lesson, we show and example of using git blame to see who made the last change on a line in a file, and then we use the output of git blame to use in other tools like git log to see the full context of why the change was made and what other parts of the code base were effected at the same time as the line from git blame.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?