Skip to content
Discussion options

You must be logged in to vote

GitHub Codespaces stores your source code and development environment in the cloud, specifically on GitHub Storage built on Azure. Your repository-based code and your custom environment live inside a virtual machine (VM).

Regarding data loss: any code you’ve committed and pushed to your GitHub repository is safe. However, if your Codespace is idle for a long period (typically around 7 days by default), GitHub may automatically delete the Codespace and any uncommitted changes to free up storage.

Tip: Always commit and push important changes before leaving a Codespace idle for many days to avoid losing work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Aopc13
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, Question Ask and answer questions about GitHub features and usage
2 participants