| ▲ | mschuster91 18 hours ago | |
git blame falls apart on someone running a new linter config across the project or doing some refactoring work. | ||
| ▲ | bulatb 13 hours ago | parent | next [-] | |
Some tools will automatically ignore commits in a .git-blame-ignore-revs file. Git itself can "blame --ignore-rev <hash>" or "blame --ignore-revs-file <file>" since version 2.23.
Git can use it automatically too:
Though git-blame may fail or crash if blame.ignoreRevsFile is set but the file is missing (hence "config", not "config --global"). Since version 2.53, a configured ignoreRevsFile can be missing if the value starts with ":(optional)". | ||
| ▲ | 14 hours ago | parent | prev | next [-] | |
| [deleted] | ||
| ▲ | matijsvzuijlen 16 hours ago | parent | prev [-] | |
In GitHub and vim at least you can dig past those commits to see earlier relevant commits. I'm sure there are more tools that allow this. | ||