gh codespace create

Create a codespace

Options

NameDescription
-b, --branchRepository branch
--default-permissionsDo not prompt to accept additional permissions requested by the codespace
--devcontainer-path <arg>Path to the devcontainer.json file to use when creating codespace
-d, --display-name <string>Display name for the codespace
--idle-timeout <duration>Allowed inactivity before codespace is stopped
-l, --location <location>Determined automatically if not provided
-m, --machine <string>Hardware specifications for the VM
-R, --repo <string>Repository name with owner: user/repo
--retention-period <duration>Allowed time after shutting down before the codespace is automatically deleted (maximum 30 days)
-s, --statusShow status of post-create command and dotfiles