In Git 2.23+, you can specify a list of commits to skip during git blame:
https://git-scm.com/docs/git-blame#Documentation/git-blame.txt—ignore-revs-fileltfilegt
This is very useful for hiding non-essential commits such as bulk code formatting.
A lot of projects are already using this format, e.g.:
https://github.com/nodejs/node/blob/master/deps/v8/.git-blame-ignore-revs
https://github.com/microsoft/accessibility-insights-web/blob/master/.ignoredRevs
https://github.com/llvm/llvm-project/blob/master/.git-blame-ignore-revs
Although this works fine in command line if you have Git >2.23
git blame --ignore-revs-file .git-blame-ignore-revs some_file
or
git config blame.ignoreRevsFile .git-blame-ignore-revs
git blame some_file
It will be very nice to have this supported in Github’s native UI of git blame