Update .gitattributes
Browse files- .gitattributes +70 -35
.gitattributes
CHANGED
|
@@ -1,35 +1,70 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
*.
|
| 6 |
-
*.
|
| 7 |
-
*.
|
| 8 |
-
*.
|
| 9 |
-
*.
|
| 10 |
-
*.
|
| 11 |
-
*.
|
| 12 |
-
*.
|
| 13 |
-
*.
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
*.
|
| 20 |
-
*.
|
| 21 |
-
*.
|
| 22 |
-
*.
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
*.
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# -------------------------------
|
| 2 |
+
# Encoding and EOL Normalization
|
| 3 |
+
# -------------------------------
|
| 4 |
+
* text=auto eol=lf
|
| 5 |
+
*.py text eol=lf
|
| 6 |
+
*.json text eol=lf
|
| 7 |
+
*.md text eol=lf
|
| 8 |
+
*.txt text eol=lf
|
| 9 |
+
*.yml text eol=lf
|
| 10 |
+
*.yaml text eol=lf
|
| 11 |
+
*.html text eol=lf
|
| 12 |
+
*.css text eol=lf
|
| 13 |
+
*.js text eol=lf
|
| 14 |
+
|
| 15 |
+
# -------------------------------
|
| 16 |
+
# Linguist Overrides (GitHub)
|
| 17 |
+
# Ensures correct language stats
|
| 18 |
+
# -------------------------------
|
| 19 |
+
*.json linguist-detectable=true
|
| 20 |
+
*.py linguist-detectable=true
|
| 21 |
+
*.md linguist-detectable=true
|
| 22 |
+
*.txt linguist-detectable=true
|
| 23 |
+
|
| 24 |
+
# Do not count dependencies or HF build artifacts in language stats
|
| 25 |
+
requirements.txt linguist-documentation
|
| 26 |
+
README.md linguist-documentation
|
| 27 |
+
diagram.txt linguist-documentation
|
| 28 |
+
|
| 29 |
+
# HuggingFace Space metadata
|
| 30 |
+
*.yaml linguist-generated=true
|
| 31 |
+
|
| 32 |
+
# -------------------------------
|
| 33 |
+
# Binary Files
|
| 34 |
+
# -------------------------------
|
| 35 |
+
*.png binary
|
| 36 |
+
*.jpg binary
|
| 37 |
+
*.jpeg binary
|
| 38 |
+
*.gif binary
|
| 39 |
+
*.svg binary
|
| 40 |
+
*.ico binary
|
| 41 |
+
*.pdf binary
|
| 42 |
+
|
| 43 |
+
# -------------------------------
|
| 44 |
+
# Model files (if added later)
|
| 45 |
+
# Treat as binary; avoid corruption
|
| 46 |
+
# -------------------------------
|
| 47 |
+
*.bin binary
|
| 48 |
+
*.pt binary
|
| 49 |
+
*.pth binary
|
| 50 |
+
*.safetensors binary
|
| 51 |
+
*.onnx binary
|
| 52 |
+
|
| 53 |
+
# -------------------------------
|
| 54 |
+
# HuggingFace Cache / Non-essential
|
| 55 |
+
# -------------------------------
|
| 56 |
+
*.lock text eol=lf
|
| 57 |
+
.cache/* linguist-generated=true export-ignore
|
| 58 |
+
logs/* linguist-generated=true export-ignore
|
| 59 |
+
|
| 60 |
+
# -------------------------------
|
| 61 |
+
# Prevent accidental commits
|
| 62 |
+
# -------------------------------
|
| 63 |
+
secret* export-ignore
|
| 64 |
+
*.env export-ignore
|
| 65 |
+
*.key export-ignore
|
| 66 |
+
*.pem export-ignore
|
| 67 |
+
|
| 68 |
+
# -------------------------------
|
| 69 |
+
# End
|
| 70 |
+
# -------------------------------
|