From be8357b12b67cb0128b1f0812fad01772618273c Mon Sep 17 00:00:00 2001
From: guofu
Date: Mon, 2 Mar 2026 13:32:51 +0800
Subject: [PATCH] Add git worktrees documentation to README
Document the worktree setup for parallel experiment development.
Co-Authored-By: Claude Opus 4.6
---
README.md | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/README.md b/README.md
index dc1b228..b41aa17 100644
--- a/README.md
+++ b/README.md
@@ -125,6 +125,29 @@ Experiments are tracked manually in `results/{task}/README.md`:
4. Create numbered notebooks
5. Add entry to `results/my_task/README.md`
+## Git Worktrees
+
+This repository uses git worktrees for parallel experiment development:
+
+| Worktree | Branch | Purpose |
+|----------|--------|---------|
+| `alpha_lab` | `master` | Main repo (reference) |
+| `alpha_lab_cta_1d` | `cta_1d_exp` | CTA 1-day experiments |
+| `alpha_lab_stock_1d` | `stock_1d_exp` | Stock 1-day experiments |
+| `alpha_lab_stock_15m` | `stock_15m_exp` | Stock 15-min experiments |
+| `alpha_lab_data_ops` | `data_ops_exp` | Data ops research |
+
+```bash
+# Create a new worktree
+git worktree add ../alpha_lab_new_exp -b new_exp
+
+# List all worktrees
+git worktree list
+
+# Remove a worktree when done
+git worktree remove ../alpha_lab_new_exp
+```
+
## Best Practices
1. **Keep it simple**: Only add to `common/` after 3+ copies