← All code files

.gitattributes

Normalize line endings and mark binary files so diffs stay clean.

* text=auto eol=lf

*.png binary
*.jpg binary
*.gif binary
*.woff2 binary
*.pdf binary

*.sh text eol=lf
*.bat text eol=crlf

About this tool

Normalize line endings and mark binary files so diffs stay clean.

Ready-to-use .gitattributes — view the content, copy it, or download it with the correct filename. Free and 100% in your browser.