-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
108 lines (97 loc) · 3.19 KB
/
.gitignore
File metadata and controls
108 lines (97 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# ----------------------------------------------------------------------------
# Flutter & Dart 核心文件
# ----------------------------------------------------------------------------
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
build/
# 如果你使用了 build_runner (代码生成),通常生成的 .g.dart 不需要忽略,
# 但如果有特定环境的生成文件可以按需添加
# *.freezed.dart
# *.g.dart
# ----------------------------------------------------------------------------
# Android 相关
# ----------------------------------------------------------------------------
android/**/generated/
android/app/debug/
android/app/release/
android/app/profile/
android/local.properties
android/key.properties
android/app/*.jks
android/app/*.keystore
android/app/*.p12
android/app/*.pfx
android/app/google-services.json
# ----------------------------------------------------------------------------
# iOS/macOS 相关
# ----------------------------------------------------------------------------
ios/Flutter/Generated.xcconfig
ios/Flutter/flutter_export_environment.sh
ios/Flutter/App.framework
ios/Flutter/Flutter.framework
ios/Flutter/Flutter.podspec
ios/Runner/GeneratedPluginRegistrant.*
ios/.generated/
ios/Pods/
ios/.symlinks/
# macOS Flutter 自动生成
macos/Flutter/GeneratedPluginRegistrant.*
macos/Flutter/.last_build_id
**/doc/api/
*.last_build_id
# macOS 系统残留
.DS_Store
**/DerivedData/
macos/DerivedData/
macos/.symlinks/
macos/Pods/
# ----------------------------------------------------------------------------
# 桌面端 (Linux/Windows) 相关
# ----------------------------------------------------------------------------
linux/flutter/ephemeral/
linux/flutter/generated_plugin_registrant.cc
linux/flutter/generated_plugins.cmake
windows/flutter/ephemeral/
windows/flutter/generated_plugin_registrant.cc
windows/flutter/generated_plugins.cmake
windows/CMakeSettings.json
windows/out/
# ----------------------------------------------------------------------------
# 敏感信息与环境配置 (重点优化:针对 SSH 相关项目)
# ----------------------------------------------------------------------------
# 绝对不要提交本地环境变量和私钥
.env
.env.*
*.pem
*.key
*.pub
# 如果你有存放 SSH 密钥或临时测试用的私钥文件,请务必忽略
/assets/ssh/
# ----------------------------------------------------------------------------
# IDE & 编辑器配置
# ----------------------------------------------------------------------------
# VS Code
.vscode/
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/tasks.json
# IntelliJ / Android Studio
.idea/
*.iml
*.iws
# ----------------------------------------------------------------------------
# 测试相关
# ----------------------------------------------------------------------------
coverage/
# ----------------------------------------------------------------------------
# 其他
# ----------------------------------------------------------------------------
pubspec.lock # 建议保留 (对于 Application 项目建议提交,确保团队依赖版本一致)
# 除非你正在开发一个 Package 库项目,则可以忽略。
.claude
.worktrees
.opencode