The two ways I see used:
picture.jpg binary
and
picture.jpg -text
The former is not officially documented anywhere in the gitattributes documentation page from what I can see. There is some slight mention of it within the context of the diff
attribute though (but the diff
attribute is not used in these examples directly).
The latter one says "not text", which means it is basically binary, and no EOL normalization is performed.
Are these two functionally the same? What are the differences between the two? Specifically, the former example is the most unknown/confusing for me.