4 ms·
I dont think I knew this. Great tip, thanks!
by schacon 3y ago
I dont think I knew this. Great tip, thanks!
- js2 3y agoNote that git itself doesn't care what the ignore-revs file is called, but GitHub does. It has to be named `.git-blame-ignore-revs`: https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/ https://github.blog/changelog/2022-03-24-ignore-commits-in-t... One other thing you might want to be mention, which is obvious after thinking about it, is that updating the ignore-revs file has to occur in a commit after the one that you want to ignore, since you don't know what that first commit's ID is till after you make it. :-)
- wrs 3y agoYes! I recommend making a script that does that little dance automatically.