完善.gitignore文件并删除.idea目录
- 添加了常用的忽略规则:IDE文件、系统文件、日志文件、依赖目录、构建输出、环境配置等 - 删除了.idea目录,避免IDE配置文件被提交到版本控制
This commit is contained in:
+65
-1
@@ -1 +1,65 @@
|
||||
.idea
|
||||
# IDE相关文件
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# 系统文件
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# 日志文件
|
||||
*.log
|
||||
logs/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# 依赖目录
|
||||
node_modules/
|
||||
bower_components/
|
||||
|
||||
# 构建输出
|
||||
dist/
|
||||
build/
|
||||
out/
|
||||
.output/
|
||||
.nuxt/
|
||||
.next/
|
||||
|
||||
# 环境配置文件
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
# 缓存文件
|
||||
.cache/
|
||||
.parcel-cache/
|
||||
.eslintcache
|
||||
|
||||
# 临时文件
|
||||
*.tmp
|
||||
*.temp
|
||||
.tmp/
|
||||
.temp/
|
||||
|
||||
# 备份文件
|
||||
*.bak
|
||||
*.backup
|
||||
|
||||
# 压缩文件
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
|
||||
# 小程序相关
|
||||
unpackage/
|
||||
.hbuilderx/
|
||||
|
||||
Reference in New Issue
Block a user