Skip to content

chore: optimize .gitignore for local artifacts#96

Merged
wxtsky merged 1 commit intowxtsky:mainfrom
lkangd:chore/optimize-git-ignore
Apr 16, 2026
Merged

chore: optimize .gitignore for local artifacts#96
wxtsky merged 1 commit intowxtsky:mainfrom
lkangd:chore/optimize-git-ignore

Conversation

@lkangd
Copy link
Copy Markdown
Contributor

@lkangd lkangd commented Apr 15, 2026

Summary

  • 扩展 .gitignore 规则,补充 Swift/macOS 构建产物忽略项(如 .swiftpm/)。
  • 新增本地开发环境相关忽略项,包括编辑器配置、临时文件与系统文件(如 .vscode/.cursor/.tmp.log.DS_Store)。
  • 新增代码代理/工具配置文件忽略项(如 .agents/.claude/skills-lock.jsonCLAUDE.md),避免本地私有配置误提交。

Why

  • 当前忽略规则对本地开发产物覆盖不足,容易将与业务无关的本地文件(构建缓存、IDE 配置、代理配置等)纳入版本控制,增加仓库噪音和误提交风险。

Changes

  • 更新文件:.gitignore
  • 变更规模:1 file changed, 20 insertions(+), 1 deletion(-)

Impact

  • 仅影响 Git 跟踪行为,不涉及运行时逻辑或业务功能变更。
  • 有助于保持仓库整洁,降低本地文件误提交概率。

Expand ignore rules for Swift/macOS build outputs, editor settings, temp files, and agent config artifacts to keep local-only files out of version control.
@wxtsky wxtsky merged commit 1facb58 into wxtsky:main Apr 16, 2026
wxtsky added a commit that referenced this pull request Apr 16, 2026
- Fix .gitignore globs (.log/.tmp → *.log/*.tmp) and restore dev.sh ignore
- Localize hardcoded approval queue labels and action buttons in session list
- Drop trailing whitespace in traecli event table

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants