Microsoft

GH-900 practice question 11

GitHub Foundations · free question 11 of 20

Question

How can a user resume an existing Codespace that is bound to a repository? (Choose two.)
  • A. Browse to the repository in GitHub.com and press the period “.” key.
  • B. Use the git CLI with the codespace parameter (e.g., "git codespace code -web").
  • C. Open https://github.com/codespaces in the browser, select the repository, and then select the existing Codespace. Correct
  • D. Browse to the repository in GitHub.com, press the comma “,” key and select Resume this codespace. Correct

Explanation

The github.com/codespaces page lists all your active and stopped codespaces, and selecting one reopens it. On a repository page, pressing the comma key opens the Resume codespace page, where Resume this codespace reopens your most recent codespace for that branch. Pressing the period key opens the github.dev web editor, not a codespace, and codespaces are managed with the GitHub CLI (gh codespace), not a git codespace command.

Practice the whole free set

Answer all 20 free GH-900 questions with instant feedback, or unlock all 126 questions with Learn and Exam modes.