# Let git decide what is text, and store it with LF in the repository * text=auto # Always LF in the working tree, whatever the platform *.sh text eol=lf *.py text eol=lf # Always CRLF in the working tree — these break otherwise *.bat text eol=crlf *.sln text eol=crlf # Never touch these: no normalisation, no diffing as text *.png binary *.pdf binary # Explicitly NOT text, but still diffable with a converter *.docx -text diff=astextplain