Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# .git-blame-ignore-revs
# List of commits that are irrelevant when traversing the blame history.
# GitHub automatically reads and interprets this file when present.
# Developers should run blame command as follows to exclude commits in this file:
# `git blame --ignore-revs-file .git-blame-ignore-revs <file-to-blame>`
# Or, to persist the exclusion, change the repo's configuration via:
# `git config blame.ignoreRevsFile .git-blame-ignore-revs`
#
# More info at [^1] and [^2]:
# [^1] https://stackoverflow.com/questions/34957237/can-i-configure-git-blame-to-always-ignore-certain-commits-want-to-fix-git-blam
# [^2] https://docs.github.com/en/repositories/working-with-files/using-files/viewing-and-understanding-files#ignore-commits-in-the-blame-view

# 2026-07-14 : GH#2805 Line end normalization
3e903d3662525a2fb9b7cc0b8248508c99a13f5d
3 changes: 3 additions & 0 deletions docs/sphinx/source/whatsnew/v0.16.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ Requirements

Maintenance
~~~~~~~~~~~
* Add file ``.git-blame-ignore-revs`` to exclude commits from blame history.
It is used automatically by GitHub. Developers may set this behavior locally with
``git config blame.ignoreRevsFile .git-blame-ignore-revs``. (:pull:`2933`)


Contributors
Expand Down
Loading