Skip to content

Commit 6aad856

Browse files
authored
env: README: Expand examples of path syntax (#65972)
1 parent 72d2ff4 commit 6aad856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/env/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ Several types of strings can be passed into the `core`, `plugins`, `themes`, and
499499
| ----------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
500500
| Relative path | `.<path>\|~<path>` | `"./a/directory"`, `"../a/directory"`, `"~/a/directory"` |
501501
| Absolute path | `/<path>\|<letter>:\<path>` | `"/a/directory"`, `"C:\\a\\directory"` |
502-
| GitHub repository | `<owner>/<repo>[#<ref>]` | `"WordPress/WordPress"`, `"WordPress/gutenberg#trunk"`, if no branch is provided wp-env will fall back to the repos default branch |
502+
| GitHub repository | `<owner>/<repo>[/<path>][#<ref>]` | `"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 |
503503
| SSH repository | `ssh://user@host/<owner>/<repo>.git[#<ref>]` | `"ssh://[email protected]/WordPress/WordPress.git"` |
504504
| ZIP File | `http[s]://<host>/<path>.zip` | `"https://wordpress.org/wordpress-5.4-beta2.zip"` |
505505

0 commit comments

Comments
 (0)