git automatically ignore commits by file

210 Views Asked by At

I'm using the following command for git to ignore commits listed in .git-blame-ignore-revs

git config blame.ignoreRevsFile .git-blame-ignore-revs

This file is tracked in a remote git repo. Every developer has to set up this command manually on first pull. I have no idea why would the file not be seen automatically like .gitignore is for example.

Is there a way to make git automatically ignore commits accroding to .git-blame-ignore-revs?

0

There are 0 best solutions below