From 79e39c28c918747b272fabe06f316383670f67d0 Mon Sep 17 00:00:00 2001 From: impressionyang Date: Wed, 15 Apr 2026 18:22:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=20.gitignore=20=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根据 HACS 项目规范添加: - HACS 特定文件(RELEASE.md, changelog.md, .hacs/) - 测试相关文件(.pytest_cache/, .coverage, htmlcov/) - 敏感信息(*.pem, *.key, *.crt, .env) - 临时文件和备份文件 Co-Authored-By: Claude Opus 4.6 --- .gitignore | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.gitignore b/.gitignore index 62b7788..38504a9 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,31 @@ Thumbs.db # 敏感信息 .git-credentials .git_config.txt +*.pem +*.key +*.crt +.env +.env.local + +# HACS 特定 +RELEASE.md +changelog.md +CHANGELOG.md +.hacs/ + +# 测试 +.pytest_cache/ +.coverage +htmlcov/ +tests/fixtures/ +*.mo + +# Home Assistant 配置(用户个人配置不应提交) +configuration.yaml.bak +*.backup + +# 临时文件 +tmp/ +temp/ +*.tmp +*.bak