Skip to content

Commit aa33727

Browse files
committed
update CLAUDE.md file
1 parent 06af6f8 commit aa33727

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

CLAUDE.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,21 @@ The tool can be run from any directory by providing an absolute or relative path
228228
`standard_template_library/` is a git subtree sourced from the `plainlang-examples` repository. It is **not** updated automatically — you must pull changes manually when the templates change upstream:
229229

230230
```bash
231-
git subtree pull --prefix=standard_template_library git@github.com:Codeplain-ai/plainlang-examples.git main --squash
231+
git subtree pull --prefix=standard_template_library git@github.com:Codeplain-ai/plainlang-examples.git subtree/standard-template-library --squash
232232
```
233233

234234
The subtree does not track a branch pointer. The branch (`main` above) is just an argument passed at pull time — git uses the `git-subtree-split` hash embedded in the commit history to determine what's new since the last sync.
235235

236+
**Important:** You must pull from the `subtree/standard-template-library` branch, not `main`. This is a split branch containing only the `standard_template_library/` subdirectory contents at root level. Pulling from `main` would bring in the entire `plainlang-examples` repo.
237+
238+
If the split branch is outdated, regenerate it first in `plainlang-examples`:
239+
240+
```bash
241+
# In plainlang-examples/
242+
git subtree split --prefix=standard_template_library -b subtree/standard-template-library
243+
git push origin subtree/standard-template-library
244+
```
245+
236246
### Windows Support
237247
Windows users must use WSL (Windows Subsystem for Linux). The codebase has some platform-specific script handling (`.ps1` for Windows, `.sh` for Unix).
238248

0 commit comments

Comments
 (0)