Publish the tested quiz to GitHub entirely through the built-in Git integration, and let Copilot draft the commit message from what actually changed.
In this lesson, you will:
- initialize a repository from Source Control.
- generate a commit message from the staged diff.
- publish the branch to a new public GitHub repository.
Initialize, commit, and publish
- Open Source Control and select Initialize Repository.
- Stage the files.
- Select the sparkle pencil icon in the commit message box to have Copilot write the message from the staged diff. Read the message, edit anything that is wrong, then commit.
- Select Publish Branch and create a public
space-quizrepository on GitHub. - Confirm that the tested file is present on GitHub.
The sparkle button drafts a commit message from the staged diff. Once you commit, Source Control offers to create the pull request too.
Summary and next steps
Your tested quiz is now published on GitHub. Continue to Lesson 5: Plan before you edit.