リポジトリごと、さらにはブランチごとに1つ以上のcodespaceを作成できます。 However, each user account has a limit of 10 codespaces. この制限に達した場合に新しいcodespaceを作成したいなら、まずcodespaceを削除しなければなりません。
注釈: codespace を作成したユーザだけが削除できます。 現在、Organization のオーナーが Organization 内で作成された Codespaces を削除する方法はありません。
-
Navigate to the "Your Codespaces" page at github.com/codespaces.
-
削除する codespace の右側で をクリックし、 [Delete] をクリックします。

-
[Codespaces] で、削除するコードスペースを右クリックします。
-
ドロップダウンメニューで、[Delete Codespace] をクリックします。

To learn more about GitHub CLI, see "About GitHub CLI."
To delete a codespace use the gh codespace delete subcommand and then choose a codespace from the list that's displayed.
gh codespace delete
If you have unsaved changes, you'll be prompted to confirm deletion. You can use the -f flag to force deletion, avoiding this prompt.
For more information about this command, see the GitHub CLI manual.