From 6aad856241e57134b6dfc62b4e9e3ea827c0b935 Mon Sep 17 00:00:00 2001 From: Miguel Fonseca <150562+mcsf@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:27:13 +0200 Subject: [PATCH] env: README: Expand examples of path syntax (#65972) --- packages/env/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/env/README.md b/packages/env/README.md index b82f59f734840c..35b00fe83e8f4d 100644 --- a/packages/env/README.md +++ b/packages/env/README.md @@ -499,7 +499,7 @@ Several types of strings can be passed into the `core`, `plugins`, `themes`, and | ----------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | | Relative path | `.\|~` | `"./a/directory"`, `"../a/directory"`, `"~/a/directory"` | | Absolute path | `/\|:\` | `"/a/directory"`, `"C:\\a\\directory"` | -| GitHub repository | `/[#]` | `"WordPress/WordPress"`, `"WordPress/gutenberg#trunk"`, if no branch is provided wp-env will fall back to the repos default branch | +| GitHub repository | `/[/][#]` | `"WordPress/WordPress"`, `"WordPress/gutenberg#trunk"`, `WordPress/themes/my-theme#my-branch`; if no branch is provided wp-env will fall back to the repo's default branch | | SSH repository | `ssh://user@host//.git[#]` | `"ssh://git@github.com/WordPress/WordPress.git"` | | ZIP File | `http[s]:///.zip` | `"https://wordpress.org/wordpress-5.4-beta2.zip"` |