From 594301905877f20032a120f3b738cf76107c0136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Thu, 6 Feb 2025 22:14:03 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=20GitHub=20?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..36f2731 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# 指定 Python 为主要语言 +*.py linguist-detectable=true + +# 将 HTML 和 JavaScript 归类为文档或前端资源,降低权重 +*.html linguist-vendored +*.js linguist-vendored +*.css linguist-vendored + +# 如果有前端框架(如 Vue 或 React),也可以添加: +*.vue linguist-vendored +*.tsx linguist-vendored +*.jsx linguist-vendored