| # Set the default behavior for all files to automatically handle line endings. | |
| # This will ensure that all text files are normalized to use LF (line feed) | |
| # line endings in the repository, which helps prevent cross-platform issues. | |
| * text=auto eol=lf | |
| # Explicitly declare files that must have LF line endings for proper execution | |
| # on Unix-like systems. | |
| *.sh eol=lf | |
| *.bash eol=lf | |
| Makefile eol=lf | |
| # Explicitly declare binary file types to prevent Git from attempting to | |
| # normalize their line endings. | |
| *.png binary | |
| *.jpg binary | |
| *.jpeg binary | |
| *.gif binary | |
| *.ico binary | |
| *.pdf binary | |
| *.woff binary | |
| *.woff2 binary | |
| *.eot binary | |
| *.ttf binary | |
| *.otf binary | |