Skip to content

Commit 4688fd6

Browse files
authored
add .git-blame-ignore-revs to hide formatting changes in git blame (#419)
See https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view Note: it only works for `git blame` (or GitHub blame page) but does not work for `git history` (or GitHub file history page).
1 parent 4f1a911 commit 4688fd6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.git-blame-ignore-revs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# .git-blame-ignore-revs
2+
# pre-commit
3+
ffa52c5d6230303d6f7ee4f1356f01aa5b2a011d
4+
# pre-commit docs python block
5+
ecdf566626c4b2d1824b946d1b7ad809cb8946dd
6+
# pre-commit imports
7+
4f1a91167b58f9042ae17cae05b609b7fdf5f20c

0 commit comments

Comments
 (0)