-
In order to have the filter working for all repos, you may create a
.gitattributes_global
file in your home. (in the same place where you have your global.config
file. (you can normally find it under~/
)The you need either to edit the global
.config
file by adding under the core section:attributesFile = <path>/.gitattributes_global
where<path>
is your Home.Or you can run the command
git config --global core.attributesFile <path>./.gitattributes_global
Not that if in a .config of a given repo you have override the value of attributesfile, it will ignore the global .gitconfig and thus the global gitattributes.
Please register or sign in to comment