The Detective Named git blame

Zoom in line by line to trace the story
Zoom in line by line to trace the story

git show lets you inspect a commit. There's another handy investigation tool: git blame. It tells you who last changed each line of a file.

Despite its name, it's not about pointing fingers. In practice, it's used to understand why code was written a certain way. Every code change has a story behind it. Use git blame to identify who made the change, then git show to see the full picture of that commit. This combination is the standard workflow for investigating issues in team development.

blame isn't about blaming. It's about understanding the story behind the code.