Ignoring the formatting commit for the purpose of git blame by adding a file named .git-blame-ignore-revs containing the formatted source code to the root of the project.
Configure git to use it with: git config --global blame.ignoreRevsFile .git-blame-ignore-revs
Ignoring the formatting commit for the purpose of
git blame
by adding a file named.git-blame-ignore-revs
containing the formatted source code to the root of the project.Configure git to use it with:
git config --global blame.ignoreRevsFile .git-blame-ignore-revs