From f0321457f64ecf8d574424cbc3f3b863d94d6ada Mon Sep 17 00:00:00 2001 From: D <3066417822@qq.com> Date: Mon, 21 Aug 2023 10:31:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9.gitignore,=E6=8E=92=E9=99=A4?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E4=BE=9D=E8=B5=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 53 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c0e638e..3c615d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,49 @@ -.hbuilderx -unpackage -dist -node_modules +# 忽略生成的文件 +build/ +dist/ +unpackage/ +*.class +*.jar +*.war +*.ear -manifest.json \ No newline at end of file +# 忽略编辑器/IDE生成的文件和目录 +.idea/ +.vscode/ +.hbuilderx +*.swp +*.swo +*~ + +# 忽略依赖管理工具生成的目录 +node_modules/ +bower_components/ +vendor/ + +# 忽略操作系统文件 +.DS_Store +Thumbs.db + +# 忽略日志文件 +*.log + +# 忽略敏感或包含个人信息的文件(根据需要添加更多) +credentials.json +config.ini +secrets.txt + +# 忽略其他自定义的文件或目录 +/custom_directory/ + +# 排除特定扩展名的文件(根据需要添加更多) +*.bak +*.tmp + +# 排除特定文件名(根据需要添加更多) +debug.log + +# 不排除下列扩展名的文件 +!*.allowed_extension + +# 不排除下列文件名 +!important_file.txt \ No newline at end of file