1GH-CODESPACE-CREATE(1) GitHub CLI manual GH-CODESPACE-CREATE(1)
2
3
4
6 gh-codespace-create - Create a codespace
7
8
9
11 gh codespace create [flags]
12
13
14
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 --idle-timeout <duration>
31 allowed inactivity before codespace is stopped, e.g. "10m", "1h"
32
33
34 -l, --location <string>
35 location: {EastUs|SouthEastAsia|WestEurope|WestUs2} (determined
36 automatically if not provided)
37
38
39 -m, --machine <string>
40 hardware specifications for the VM
41
42
43 -r, --repo <string>
44 repository name with owner: user/repo
45
46
47 -s, --status
48 show status of post-create command and dotfiles
49
50
51
53 gh-codespace(1)
54
55
56
57 Jun 2022 GH-CODESPACE-CREATE(1)