Today I learned that since git version 2.23 you can add a file to your repository to exclude large commits for e.g. format changes from your git blame. With the
--ignore-rev as additional parameter, you can hide single commits for this specific blame call. More useful is the use of a
--ignore-revs-file which can specify a file, that has a list of commits, similar to how
.gitignore has a list a files to ignore. The standard name for this file appears to be
I came across this, while diving into the NetworkManager repository and I stumbled over the file in the file index.