Investigate a Line with git blame

Why is HEALTH_TIMEOUT 2? A move and a whole-file re-indent hide who decided it. See through both, find the reason, and make blame skip the re-indent for the whole team.

Project labadvanced~25 minPro

What you'll do

  • ✓Blame a line range
  • ✓See through whitespace changes and moves with -w and -M
  • ✓Read the reason in the introducing commit
  • ✓Share ignored revisions with .git-blame-ignore-revs

Lab outline

  1. 01Naive blame
  2. 02Find the origin
  3. 03Fix it for everyone

Before you start

  • Searching history (git-32)

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Git labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Investigate a Line with git blame — Git lab | Kube Labs