Skip to content

Add a git blame ignore revs file - #179

Merged
chris-janidlo merged 1 commit into
mainfrom
chris/git-blame-ignore-revs
Nov 18, 2026
Merged

chris-janidlo merged 1 commit into
mainfrom
chris/git-blame-ignore-revs

Conversation

@chris-janidlo

Copy link
Copy Markdown
Contributor

Occasionally, big formatting changes can really clutter up git-blame output; they can make it look like one person introduced a feature when really they were just the last to touch a given line during their big pre-commit run. As a result, git natively supports the ability to ignore certain commits when blaming via an "ignore revs file." This commit adds and populates that file. GitHub reads the file automatically, but otherwise git needs to be explicitly configured to use it, so this commit also includes activation instructions for developers.

Occasionally, big formatting changes can really clutter up git-blame
output; they can make it look like one person introduced a feature when
really they were just the last to touch a given line during their big
`pre-commit` run. As a result, git natively supports the ability to
ignore certain commits when blaming via an "ignore revs file." This
commit adds and populates that file. GitHub reads the file
automatically, but otherwise git needs to be explicitly configured to
use it, so this commit also includes activation instructions for
developers.
@chris-janidlo chris-janidlo added no-news-is-good-news This change does not require a news file quick-review labels Nov 16, 2026
@chris-janidlo
chris-janidlo merged commit 60071b6 into main Nov 18, 2026
12 checks passed
@chris-janidlo
chris-janidlo deleted the chris/git-blame-ignore-revs branch November 18, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-news-is-good-news This change does not require a news file quick-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants