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
Name of the codespace
--full
Perform a full rebuild
-R, --repo
Filter codespace selection by repository name (user/repo)
--repo-owner
Filter codespace selection by repository owner (username or org)

See also