TIL

One of the excuses I hear from engineers against introducing a formatter in a repository is that doing so will destroy the git blame history on files. Turns out git has something for this: by default git looks for a file in the repository root called .git-blame-ignore-revs which contains the hashes of commits to ignore, all changes made by these commits will not show up in git history.

Problem solved.

git