aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
blob: 1f6671809bee4b3adf7b6d423f1a4f82cc5b2f65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Whitelist: ignore everything by default, then re-include what this repo tracks.
# Most of this directory is runtime state, caches, or secrets — synced via
# Syncthing or kept device-local, never committed. Only the hand-authored config
# below is tracked. See README.md for the full tracked / synced / local taxonomy.

# Ignore everything…
/*
/.*

# …except the authored global config:
!/.gitignore
!/README.md
!/CLAUDE.md
!/settings.json
!/keybindings.json
!/.claude/
!/.claude/**
!/agent-memory/
!/agents/
!/hooks/
!/output-styles/
!/rules/
!/skills/
!/themes/
!/workflows/

# …but never this device-local override inside the tracked .claude/:
/.claude/settings.local.json

# …and the hook implementation scripts under bin/ (the rest of bin/ is synced-only).
!/bin/
/bin/*
!/bin/install.sh
!/bin/managed-files.sh
!/bin/memory-status.sh