添加 .gitignore 文件 #3

Open
opened 2026-02-02 11:43:04 +08:00 by gouki · 0 comments
Owner

当前项目缺少 .gitignore 文件,可能会意外提交不应该版本控制的文件。

建议排除的内容

  • node_modules/
  • .DS_Store
  • *.log
  • `.env*
  • dist/build/ 等构建输出目录
  • IDE 配置文件(.vscode/.idea/ 等,如果需要保留可以移除)

参考模板

可以使用 OpenClaw 的默认 .gitignore 或者根据项目需要自定义。

当前项目缺少 `.gitignore` 文件,可能会意外提交不应该版本控制的文件。 ## 建议排除的内容 - `node_modules/` - `.DS_Store` - `*.log` - `.env* - `dist/`、`build/` 等构建输出目录 - IDE 配置文件(`.vscode/`、`.idea/` 等,如果需要保留可以移除) ## 参考模板 可以使用 OpenClaw 的默认 .gitignore 或者根据项目需要自定义。
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gouki/openclaw#3
No description provided.