forked from aynorway/web-video-speed-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
370 lines (292 loc) · 8.72 KB
/
.gitignore
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
###################################################
# Adrian's Personal .gitignore Template
#
# Hi everyone. This template provides a comprehensive collection of rules to help exclude unwanted files and directories
# from a Git repository. It's tailored for a variety of use cases and development environments.
#
# Overview:
# 1. General exclusions (e.g., history directories, macOS metadata)
# 2. Node.js related exclusions (logs, dependency directories, cache, etc.)
# 3. Java-specific exclusions (compiled files, build artifacts)
# 4. Build tools (Maven, Gradle)
# 5. IDEs (IntelliJ, Eclipse, NetBeans, Visual Studio Code)
# 6. OS-specific (e.g., .DS_Store for macOS)
#
# Feel free to modify and expand upon this template as needed for your projects.
###################################################
# ————————————————————————————————————————————————————————————————————————————————————————————————————————————————
#
# Latest update: 2023 Sep 24
#
# ————————————————————————————————————————————————————————————————————————————————————————————————————————————————
# gitignore一定要在上传GitHub之前设置好,要不然很多文件都会保留在git中
# 排除历史文件夹
废弃历史/
本地历史/
历史/
# .DS_Store 文件是 macOS 系统生成的隐藏文件,用于存储文件夹的元数据和布局信息。它并不是你项目中实际需要的文件,通常不应该被包含在版本控制中,因为它可能导致跨不同系统的不一致性。
# 首先,删除本地仓库中的 .DS_Store 文件:
# git rm --cached .DS_Store
# 上述命令会从版本控制中移除 .DS_Store 文件,但不会删除本地文件。
# 更新 .gitignore 文件:
# 在你的项目根目录下找到 .gitignore 文件,如果没有则创建一个。在该文件中添加以下内容:
# .DS_Store
# 这样配置后,Git 将自动忽略 .DS_Store 文件,不再将其包含在版本控制中。
.DS_Store
# ————————————————————————————————————————————————————————————————————————————————————————————————————————————————
# 这是使用react时react自己生成的原生模板
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# ————————————————————————————————————————————————————————————————————————————————————————————————————————————————
# 以下是Github上的gitignore - Node模版。包含.env node_modules 等等
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
.cache
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# ————————————————————————————————————————————————————————————————————————————————————————————————————————————————
# 以下是Java的一个模版 A complete .gitignore file for Java.
##############################
## Java
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
replay_pid*
##############################
## Maven
##############################
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
pom.xml.bak
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
##############################
## Gradle
##############################
bin/
build/
.gradle
.gradletasknamecache
gradle-app.setting
!gradle-wrapper.jar
##############################
## IntelliJ
##############################
out/
.idea/
.idea_modules/
*.iml
*.ipr
*.iws
##############################
## Eclipse
##############################
.settings/
bin/
tmp/
.metadata
.classpath
.project
*.tmp
*.bak
*.swp
*~.nib
local.properties
.loadpath
.factorypath
##############################
## NetBeans
##############################
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
##############################
## Visual Studio Code
##############################
.vscode/
.code-workspace
##############################
## OS X
##############################
.DS_Store
# ————————————————————————————————————————————————————————————————————————————————————————————————————————————————
# 以下是 JavaScript/Chrome 插件的 .gitignore 模板。
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules
jspm_packages
# Optional npm cache directory
.npm
# Optional REPL history
.node_repl_history
# Recycle Bin used on file shares
$RECYCLE.BIN/
# VS Code directories
.vscode/
# JetBrains IDE
.idea/
# User-specific stuff
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# Windows image file caches
ehthumbs.db
# Folder config file
Desktop.ini
# Windows thumbnail cache files
Thumbs.db
# Mac
.DS_Store
# Chrome plugin dist
chrome-dist/
# Temporary files
*.tmp
*.swp
# Keys
*.pem
*.key
# ————————————————————————————————————————————————————————————————————————————————————————————————————————————————