Skip to content

Cannot export unpublished changes to a branch #66698

Discussion options

You must be logged in to vote

This happens with me too.

What you can do

You can download the data of the codespace locally. Run this command on your local machine:

  • Syntax
gh cs cp -e -r "remote:/workspaces/<codespace name>" <directory>
  • Example
gh cs cp -e -r "remote:/workspaces/codespaces-blank" ./Repo

After this you can publish your work to a repository

Note

Make sure that you have installed the GitHub CLI

OR

You can just wait for the github team to resolve this issue

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@swayam25
Comment options

Answer selected by SomePogProgrammer
@SomePogProgrammer
Comment options

@ayan479
Comment options

@bryantamayo1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Show & Tell
4 participants