From e7e4fa8a802087486846e14e89b9b3aa94a27236 Mon Sep 17 00:00:00 2001 From: "let5sne.win10" Date: Thu, 12 Feb 2026 22:47:34 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=20.gitignore=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除重复的 .gradle/ 条目 - 添加更多 Android 构建产物忽略规则 - 完善 Python 和 Keystore 文件忽略规则 Co-Authored-By: Claude Opus 4.6 --- .gitignore | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fe1916f..16de759 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1,53 @@ -# Data +# ================================================== +# 数据文件 +# ================================================== data/input/* !data/input/.gitkeep data/output/* !data/output/.gitkeep +# ================================================== # Python +# ================================================== __pycache__/ -*.pyc +*.py[cod] +*$py.class +*.so +.Python +.pytest_cache/ +.coverage +htmlcov/ .DS_Store .venv/ venv/ +.env -# Android - 源代码保留,忽略构建产物 +# ================================================== +# Android - 构建产物 +# ================================================== android-app/app/build/ +android-app/build/ android-app/.gradle/ android-app/.idea/ android-app/local.properties android-app/captures/ android-app/*.apk android-app/*.aab -android-app/.gradle/ +android-app/*.ap_ +android-app/output/ +android-app/.externalNativeBuild +android-app/.cxx + +# Gradle +android-app/gradle-app.setting +android-app/.navigation/ +android-app/*/build/ + +# Keystore files +android-app/*.jks +android-app/*.keystore + +# Debug +android-app/**/kotlin/ +android-app/**/tmp/ +android-app/**/.kotlin/