Skip to main content

The PreTeXt Guide

Section 52.4 Blame

The command git blame is simultaneously funny, useful, and powerful. A line of code you do not understand can be traced back to its originating commit. We maintain a list of commits (in .git-blame-ignore-revs) that have no real new code and make just cosmetic changes, so you may want to use this feature. To use:
git blame --ignore-revs-file .git-blame-ignore-revs birds.xml
You can also make this happen every time with a local configuration change, to wit:
git config blame.ignoreRevsFile .git-blame-ignore-revs
To learn more, see Rob Allen’s post 2 , and Section 50.1.
You have attempted of activities on this page.
akrabat.com/ignoring-revisions-with-git-blame/