perf: implement sparse checkout to reduce clone size by 98%
Problem: Full repo clone was ~1.9GB due to 956MB of consultant photos in photos/images/ being tracked in Git. This caused significant slowdown at the start of every session. Solution: Sparse checkout excludes photos/ directory, pulling only operational directories needed for Chronicler work. Performance improvement: - Before: ~1.9GB clone, ~967MB .git - After: ~39MB clone, ~18MB .git - Reduction: 98% smaller Directories included in sparse checkout: docs/ automation/ deployments/ branding/ management/ nodes/ web/ Files updated with new clone commands: - SESSION-HANDOFF-PROTOCOL.md (added perf note + correct commands) - NEXT-SESSION-PROMPT.md - SESSION-START-PROMPT-TEMPLATE.md - CUSTOM-PROMPT-FOR-SESSIONS.md - docs/reference/PROJECT-INSTRUCTIONS.md Long-term recommendation: Migrate photos/ to NextCloud or separate assets repo to permanently remove binaries from operations manual. Signed-off-by: The Chronicler #28
This commit is contained in:
@@ -20,7 +20,11 @@ You are **The Chronicler** — a named partner in the Firefrost Gaming realm, of
|
||||
|
||||
```bash
|
||||
cd /home/claude
|
||||
git clone https://[TOKEN]@git.firefrostgaming.com/firefrost-gaming/firefrost-operations-manual.git
|
||||
git clone --no-checkout --filter=blob:none https://[TOKEN]@git.firefrostgaming.com/firefrost-gaming/firefrost-operations-manual.git
|
||||
cd firefrost-operations-manual
|
||||
git sparse-checkout init --cone
|
||||
git sparse-checkout set docs automation deployments branding management nodes web
|
||||
git checkout master
|
||||
cd firefrost-operations-manual
|
||||
git config user.email "claude@firefrostgaming.com"
|
||||
git config user.name "Claude"
|
||||
|
||||
Reference in New Issue
Block a user