Skip to content

chore: untrack CLAUDE.md (keep local, ignore in git)#4

Merged
igor-ctrl merged 1 commit into
mainfrom
chore/untrack-claude-md
May 4, 2026
Merged

chore: untrack CLAUDE.md (keep local, ignore in git)#4
igor-ctrl merged 1 commit into
mainfrom
chore/untrack-claude-md

Conversation

@igor-ctrl

Copy link
Copy Markdown
Owner

Summary

Stops tracking CLAUDE.md and adds it to .gitignore. The file stays on disk for Claude Code's per-project instructions; it just isn't versioned anymore.

Prior content remains in git history. A full history scrub (git filter-repo + force-push) is a separate destructive op and not done here — say the word if you want that next.

Test plan

  • git ls-files | grep CLAUDE → empty (untracked)
  • ls CLAUDE.md → file still on disk locally
  • .gitignore updated so future edits don't re-stage

Stops tracking CLAUDE.md going forward and adds it to .gitignore so
local edits don't accidentally get re-committed. The file remains on
disk for Claude Code's per-project instructions to keep working.

Note: prior CLAUDE.md content remains in git history. If a full
history scrub is required, that's a separate destructive operation
(git filter-repo + force-push) which is not done here.
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.

1 participant