1GH-CODESPACE-CREATE(1)         GitHub CLI manual        GH-CODESPACE-CREATE(1)
2
3
4

NAME

6       gh-codespace-create - Create a codespace
7
8
9

SYNOPSIS

11       gh codespace create [flags]
12
13
14

OPTIONS

16       -b, --branch <string>
17              repository branch
18
19
20       --default-permissions
21              do  not prompt to accept additional permissions requested by the
22              codespace
23
24
25       --devcontainer-path <string>
26              path  to  the  devcontainer.json  file  to  use  when   creating
27              codespace
28
29
30       -d, --display-name <string>
31              display name for the codespace
32
33
34       --idle-timeout <duration>
35              allowed inactivity before codespace is stopped, e.g. "10m", "1h"
36
37
38       -l, --location <string>
39              location:  {EastUs|SouthEastAsia|WestEurope|WestUs2} (determined
40              automatically if not provided)
41
42
43       -m, --machine <string>
44              hardware specifications for the VM
45
46
47       -R, --repo <string>
48              repository name with owner: user/repo
49
50
51       --retention-period <duration>
52              allowed time after shutting down before the codespace  is  auto‐
53              matically deleted (maximum 30 days), e.g. "1h", "72h"
54
55
56       -s, --status
57              show status of post-create command and dotfiles
58
59
60       -w, --web
61              create  codespace  from  browser, cannot be used with --display-
62              name, --idle-timeout, or --retention-period
63
64
65

SEE ALSO

67       gh-codespace(1)
68
69
70
71                                   Oct 2023             GH-CODESPACE-CREATE(1)
Impressum