Module 5 - have AI tell the user which files should be committed #88
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of guessing, or having the user investigate on their own, the AI agent should be able to tell them which files they would want to commit with the repo. Example:
i asked "which files does claude use to keep information about this repo that we should also commit along with the repo so that others have the same settings as we do locally when developing?"
claude said
Claude Code files & version control
In this repo right now
.claude/settings.local.json— the personal/local settings file. By convention it is not committed (machine-specific choices like approved permissions). Claude Code normally gitignores it automatically.CLAUDE.mdand no.claude/settings.jsonyet.Files meant to be committed (so collaborators share your setup)
CLAUDE.md.claude/settings.json.claude/settings.local.json.mcp.json.claude/commands/.claude/agents/.claude/hooks/Key distinction
.claude/settings.json→ committed, team-wide.claude/settings.local.json→ yours, gitignoredRight now you only have the
.localone, so nothing Claude-related is shared yet — and nothing Claude-related is tracked by git, nor ignored.Recommended next steps
.claude/settings.local.jsonto.gitignoreso personal settings aren't committed by accident..claude/settings.json.CLAUDE.mddocumenting how to run/develop the app.armed with that output the AI agent can actually do the work for us. and again we are trying to get the learner used to letting their ai modify files ....