gitignore: shield dotfiles/claude from nested claude-history data
On nix-darwin ~/.claude resolves into dotfiles/claude, so the claude-history repo lives nested inside this worktree on those machines; allowlist only the HM-managed config files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
10
.gitignore
vendored
10
.gitignore
vendored
@@ -51,3 +51,13 @@ gotools
|
|||||||
/.playwright-cli/
|
/.playwright-cli/
|
||||||
/nixos/action-cache-dir/
|
/nixos/action-cache-dir/
|
||||||
/dotfiles/config/taffybar/dbus-menu/
|
/dotfiles/config/taffybar/dbus-menu/
|
||||||
|
|
||||||
|
# On nix-darwin, ~/.claude resolves into dotfiles/claude (HM out-of-store
|
||||||
|
# symlink), so the claude-history repo and live Claude Code state are nested
|
||||||
|
# inside this worktree there. Keep everything but the managed config out of
|
||||||
|
# the dotfiles repo so chat history can never be committed here.
|
||||||
|
/dotfiles/claude/*
|
||||||
|
!/dotfiles/claude/CLAUDE.md
|
||||||
|
!/dotfiles/claude/settings.json
|
||||||
|
!/dotfiles/claude/settings.local.json
|
||||||
|
!/dotfiles/claude/settings.local.json.example
|
||||||
|
|||||||
Reference in New Issue
Block a user