3 ms·
You can specify a file with of such commits with --ignore-revs-file, and of course check in that file. Naming that file .git-blame-ignore-revs seems to be a con
by banana_giraffe 5y ago
You can specify a file with of such commits with --ignore-revs-file, and of course check in that file. Naming that file .git-blame-ignore-revs seems to be a convention I've seen more than once.
Still need to specify the file yourself, so hopefully someone can point out the missing magic to have git pull in .git-blame-ignore-revs on its own.
- NegativeLatency 5y agoA shell alias?
- karlding 5y agoThat's what the blame.ignoreRevsFile [0] config option is for. [0] https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile https://git-scm.com/docs/git-config#Documentation/git-config...
- IshKebab 5y agoYes but you can't check set git config from a repo unfortunately because some things in it would cause security issues. banana_giraffe was asking for a way to set it up automatically so users don't have to do anything.