ezgh git repos create <name> [flags] [--wait]Create an empty repository. Its name is 1 to 100 of a-z, 0-9, ., _ and -, unique in the project, and is the last part of its clone URL. --default-branch is main unless set; --merge-method (repeat it) narrows how pull requests may be merged: merge, squash or rebase (all three unless set). --wait waits until it’s ready and prints it.
Part of ezgh git repos.
Examples
ezgh git repos create site --wait
ezgh git repos create agent-sandbox --merge-method squashFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--default-branch |
string | its default branch (default main) | |
--description |
string | what it’s for | |
--merge-method |
string, repeatable | a merge method pull requests may use: merge, squash or rebase; repeat for more | |
--tag |
string, repeatable | a tag, key=value; repeat for more | |
--wait |
boolean | wait until it’s ready, and print it then | |
--wait-timeout |
duration | 10m0s |
how long --wait waits |
This command also takes the global flags.