Git · Everyday workflow
git blame
Shows which commit last changed each line. Use it to understand context, not to assign blame.
Syntax
git blame <file>Example
Example
git blame src/app.ts
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.