unicef / iogt-pwa

A UNICEF-led digital solution transforming lives and providing opportunity, by making knowledge universally accessible.
https://www.internetofgoodthings.org/
Other
3 stars 2 forks source link

stop git treating PNGs as text files #43

Closed istride closed 3 years ago

istride commented 3 years ago

On my Linux machine, a clean checkout of the develop branch results in pretty much all PNG files being modified locally because git is treating PNG image files as text and attempting to convert what look like line endings within those files. This addition to .gitattributes will make git treat PNGs as binary files, and leave them alone.