gitattributes

Table of Contents

What is gitattributes for? discussion

A gitattributes file is a simple text file that gives attributes to pathnames. For example, Git LFS uses gitattributes to manage large files selectively.

In this case, filter= attribute is specified to *.txt pathname.
In this case, filter= attribute is specified to *.txt pathname.

.gitattributes
*.png filter=lfs diff=lfs merge=lfs -text
.gitconfig
[filter "lfs"]
  clean = git-lfs clean -- %f
  smudge = git-lfs smudge -- %f
  process = git-lfs filter-process
  required = true