store: Config repo gitignore: added backups/ to stop noisy session diffs
This commit is contained in:
parent
8f60a1c793
commit
671c7de54a
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
id: 51a92472-55f8-410d-b148-f245d41f53df
|
||||||
|
type: configuration
|
||||||
|
title: "Config repo gitignore: added backups/ to stop noisy session diffs"
|
||||||
|
tags: [claude-config, gitea, git, cleanup, gitignore]
|
||||||
|
importance: 0.4
|
||||||
|
confidence: 0.8
|
||||||
|
created: "2026-02-20T05:39:54.890351+00:00"
|
||||||
|
updated: "2026-02-20T05:39:54.890351+00:00"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Claude Config Repo: Exclude backups/ from Git Tracking
|
||||||
|
|
||||||
|
## Problem
|
||||||
|
|
||||||
|
`~/.claude/backups/` contains auto-rotated `.claude.json.backup.*` files that change every session, creating thousands of lines of noisy diffs on every `/sync-config` run.
|
||||||
|
|
||||||
|
## Fix
|
||||||
|
|
||||||
|
- Added `backups/` to `~/.claude/.gitignore`
|
||||||
|
- Removed 5 previously tracked backup files from the git index
|
||||||
|
- Commit `25792a7` deleted 11,477 lines of backup noise
|
||||||
|
|
||||||
|
## Result
|
||||||
|
|
||||||
|
`/sync-config` commits are now clean and contain only meaningful config changes.
|
||||||
Loading…
Reference in New Issue
Block a user