Skip to content

chore: gitignore Claude Code harness local state#698

Open
keanji-x wants to merge 1 commit intomainfrom
chore/gitignore-claude-harness
Open

chore: gitignore Claude Code harness local state#698
keanji-x wants to merge 1 commit intomainfrom
chore/gitignore-claude-harness

Conversation

@keanji-x
Copy link
Copy Markdown
Contributor

Summary

  • Add .claude/ to .gitignore so harness local state (scheduled_tasks.lock, skills/, worktrees/, settings.local.json) stops showing up in git status.
  • The tracked .claude/commands/ entries are unaffected — already-tracked files are not re-ignored.

Test plan

  • git status no longer lists .claude/* untracked entries on a working tree where the harness has run.
  • git ls-files .claude/ still shows commands/build-and-test.md.

🤖 Generated with Claude Code

Keep `.claude/scheduled_tasks.lock`, `.claude/skills/`, `.claude/worktrees/`,
and `.claude/settings.local.json` out of the working tree so they stop
showing up in `git status`. The tracked `.claude/commands/` entries are
unaffected (already-tracked files are not re-ignored).

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