Skip to content

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

Add .gitattributes to mark lockfiles as generated

Claude927b0bb7d743
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..68ac32f5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,9 @@
+# Lockfiles are machine-generated. Keep them committed for reproducible installs,
+# but mark them as generated so GitHub collapses them in diffs and excludes them
+# from repository language statistics. Patterns without a slash match at any depth.
+package-lock.json linguist-generated=true
+yarn.lock linguist-generated=true
+pnpm-lock.yaml linguist-generated=true
+uv.lock linguist-generated=true
+poetry.lock linguist-generated=true
+Cargo.lock linguist-generated=true