What is Git smudge?
Herein, what is git LFS smudge?
Git LFS (Legendary Fabled Squid Large File Storage) is a Git extension for storing large binary files. When pulling or checking out a new branch, all files run through a smudge filter. The smudge filter puts a file into your working directory.
Thereof, what is the purpose of Gitattributes file?
The GITATTRIBUTES file enables you to perform a variety of functions such as commanding Git how it should diff (show changes between an index and a tree, changes between two trees, etc.) non-text files or having Git filter content before checking it into or out of Git.
Unless you've assigned prefix a custom, non-empty value, $(prefix) expands to nothing by default; therefore, your system-wide gitattributes file should reside in /etc/ .