-c names the codespace to connect to, as shown by gh codespace list. This drops you into a shell inside the container, identical to SSHing to a VM. Codespace names look like yourname-project-random; omit -c to pick interactively.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.