Skip to content

[Engineering] 添加 .gitignore 文件 #5

Description

@newtontech

问题描述

项目缺少 .gitignore 文件,可能导致:

  • node_modules 被误提交
  • 构建产物被跟踪
  • 敏感文件被意外提交
  • IDE 配置文件污染仓库

建议行动

创建 .gitignore 文件,包含:

# Dependencies
node_modules/

# Build
dist/
build/
*.tsbuildinfo

# IDE
.vscode/
.idea/
*.swp

# OS
.DS_Store
Thumbs.db

# Logs
*.log
npm-debug.log*

# Environment
.env
.env.local

验收标准

  • 添加 .gitignore 文件
  • 清理已跟踪的不必要文件

🤖 由 OpenClaw 工程扫描自动创建

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions