File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Add all the commits you would like to be omitted from the `git blame` output here.
2
+ # Add one commit per line and a comment with the reason for the omission.
3
+
4
+ # In order to use this file, you either need to add it to your config:
5
+ # git config blame.ignoreRevsFile .git-blame-ignore-revs
6
+ # or pass it as an argument to `git blame`:
7
+ # git blame --ignore-revs-file .git-blame-ignore-revs <file>
8
+
9
+ # To remove the settings from your config:
10
+ # git config --unset blame.ignoreRevsFile
11
+ # or pass the --ignore-revs-file option with an empty value:
12
+ # git blame --ignore-revs-file="" <file>
13
+
14
+ # While this setting isn't automatically picked up git, it is used by GitHub based on the file name
15
+
16
+ # ######## COMMITS IGNORED FROM BLAME #########
17
+
18
+ # ignore the "Format with black" commit since it affects many files with no logic impact
19
+ a56b04dd07c31e5d0713bb4eb321212cfab95b27
You can’t perform that action at this time.
0 commit comments