Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: hubwriter <hubwriter@github.com> Co-authored-by: JP Ungaretti <19893438+jungaretti@users.noreply.github.com>
1.6 KiB
title, intro, versions, type, topics, shortTitle
| title | intro | versions | type | topics | shortTitle | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Exporting changes to a branch | This article provides steps for exporting your codespace changes to a branch. |
|
reference |
|
Exporting changes |
Exporting changes to a branch
While using {% data variables.product.prodname_github_codespaces %}, you may want to export your changes to a branch without launching your codespace. This can be useful when you have hit a spending limit or have a general issue accessing your codespace.
If your codespace is unpublished (created from a template and not associated with a repository on {% data variables.product.product_name %}), then you won't be able to export changes to a branch, but you can publish the codespace to a new repository without launching the codespace. For more information, see "Creating a codespace from a template."
To export your changes to a branch:
{% data reusables.codespaces.your-codespaces-procedure-step %} Or, for an individual repository, click the {% octicon "code" aria-label="The code icon" %} Code menu.
- Click the ellipsis (...) to the right of the codespace you want to export from.
- Select {% octicon "git-branch" aria-label="The git branch icon" %} Export changes to branch.
- From the popover, select Create branch.
