1
0
mirror of synced 2026-01-04 00:06:20 -05:00
Files
docs/content/codespaces/troubleshooting/exporting-changes-to-a-branch.md
Isaac Brown 31274d9415 [Universe] - Codespaces Templates - combined work (#32149)
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>
2022-11-03 13:30:55 +00:00

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.
fpt ghec
* *
reference
Codespaces
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.

  1. Click the ellipsis (...) to the right of the codespace you want to export from.
  2. Select {% octicon "git-branch" aria-label="The git branch icon" %} Export changes to branch.

Export changes to a branch

  1. From the popover, select Create branch.