# Git Blame

> Find who changed what lines and when.

- Skill: `andersonlimahw/git-blame` (Agent Skill)
- Install (CLI): `npx skillmds@latest add andersonlimahw/git-blame`
- Raw SKILL.md: https://api.skillmd.com/api/skills/andersonlimahw/git-blame/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Andersonlimahw (https://skillmd.com/u/andersonlimahw)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/andersonlimahw/git-blame

---


# Git Blame Skill

Annotate files line-by-line to find the last commit that modified each line.

## Capabilities
- Blame file: `git blame <file>`
- Blame with date: `git blame --date=short <file>`
- Blame with email: `git blame -e <file>`
- Blame range: `git blame -L <start>,<end> <file>`
- Show raw contents: `git blame -s <file>` (supports author/timestamp)
- Blame since commit: `git blame <commit>.. <file>`
- Ignore whitespace: `git blame -w <file>`
- Show line count: `git blame --line-porcelain <file>`

## Usage
Triggered when user says "blame", "who changed this line", "find the commit that added this".
Use `-L` to target specific lines. Always show the commit hash, author, date, and line content.

