I created a repo with some image files. I have .gitignore and .gitattributes that I want to exclude from lfs. So I need to track all files by lfs but not .gitignore and .gitattributes.
I' m using Sourcetree and I tried that in .gitattributes:
.gitignore text
.gitattributes text
* filter=lfs diff=lfs merge=lfs -text
But all of my files getting tracked by lfs.