Skip to content

Commit

Permalink
.git-blame-ignore-revs: init
Browse files Browse the repository at this point in the history
Added to ignore a treewide reformatting commit when using `git blame`.

See [GitHub's Documentation][1] and the [`git blame` manual][2].

[1]: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
[2]: https://www.git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt
  • Loading branch information
MattSturgeon committed Jun 5, 2024
1 parent 37dbf9d commit 77d4e90
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Git revisions added to this file will be ignored by GitHub's blame feature.
#
# This can also be used locally with `git blame` by configuring your "blame.ignoreRevsFile":
# git config blame.ignoreRevsFile .git-blame-ignore-revs
#
# Or you can this on an ad-hock basis with the `--ignore-revs-file` argument:
# git blame --ignore-revs-file .git-blame-ignore-revs

# This commit reformatted from alejandra to nixfmt-rfc-style:
# 2024-05-05: treewide: Reformat with nixfmt
62f32bfc711f0a3c8a52af4c0790345b4b3d2346

0 comments on commit 77d4e90

Please sign in to comment.