Commit
add gitattributes for line endings
commit
3748ee8
1 changed file with +15 and −0
added .gitattributes +15 −0
| @@ -0,0 +1,15 @@ | ||
| 1 | +# Normalize line endings: LF in the repo, regardless of OS. | |
| 2 | +* text=auto eol=lf | |
| 3 | + | |
| 4 | +# Binary assets should never be normalized. | |
| 5 | +*.png binary | |
| 6 | +*.jpg binary | |
| 7 | +*.jpeg binary | |
| 8 | +*.gif binary | |
| 9 | +*.ico binary | |
| 10 | +*.webp binary | |
| 11 | +*.woff binary | |
| 12 | +*.woff2 binary | |
| 13 | + | |
| 14 | +# Lockfile: keep as-is, don't show in diffs by default. | |
| 15 | +pnpm-lock.yaml -diff |