Skip to content

Commit 12d0360

Browse files
committed
Add .git-blame-ignore-revs for cleaner blames
While we avoid mass reformat commits in general, there's been a couple necessary ones in the past that result in harder to read blames. This file will automatically fix them on GitHub and can fix local blames with one command after checkout.
1 parent 52e8e1f commit 12d0360

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.git-blame-ignore-revs

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file contains a list of Git commit hashes that should be hidden from the
2+
# regular Git history. Typically, this includes commits involving mass auto-formatting
3+
# or other normalizations. Commit hashes *must* use the full 40-character notation.
4+
# To apply the ignore list in your local Git client, you must run:
5+
#
6+
# git config blame.ignoreRevsFile .git-blame-ignore-revs
7+
#
8+
# This file is automatically used by GitHub.com's blame view.
9+
10+
# Convert CRLF to LF everywhere
11+
bb4aa0e1372751b74425e77c9a42f972971568bf
12+
13+
# js: Reformat all sources with Prettier
14+
3dea31b5c248594a62f49a3e41fc88d7ceae2de3
15+
16+
# Reformat workflow YAML files with Prettier
17+
52e8e1f61712928a36b5257a894bb098a4a98b22

0 commit comments

Comments
 (0)