Text of cli.github.com › manual › gh_codespace_rebuild as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

GitHub CLI | Take GitHub to the command line

CLI manual gh codespace rebuild gh codespace rebuild [flags] Rebuilding recreates your codespace. Your code and any current changes will be preserved. Your codespace will be rebuilt using your working directory's dev container. A full rebuild also removes cached Docker images. Options -c , --codespace <string> Name of the codespace --full Perform a full rebuild -R , --repo <string> Filter codespace selection by repository name (user/repo) --repo-owner <string> Filter codespace selection by repository owner (username or org) See also gh codespace