If you want git blame to ignore formatting revisions run: git config blame.ignoreRevsFile .git-blame-ignore-revs