I need to remove a Git LFS file pointer, and add the file directly to Git.
I have a filter in .gitattributes to match certain files:
test/**/*.py filter=lfs diff=lfs merge=lfs -text
How can I modify it to exclude 1 file from this pattern?
I tried something like this:
test/**/*.py !test/my_dir/my_file.py filter=lfs diff=lfs merge=lfs -text
but it doesn't seem to work... git says that there is no such file