There are more pages in the pipeline, like documentation and picked examples. We also want to show a more personalized page for logged in users. The basis is here now, so it’ll be easier to expand to this in the future.

GitHub Committing & Opening PRs

The most requested feature since day one is committing to GitHub. At the beginning we couldn’t tackle that because of the groundwork that needed to be built first. The groundwork has been built and from now on you can commit, create repositories and open pull requests right from within CodeSandbox! It truly feels incredible to commit changes directly from your browser to GitHub.

Creating Repositories

This is a very simple process. You can now export any normal sandbox to GitHub by just entering the name and clicking ‘Create Repo’ in the sidebar. This will create a repository and then redirect you to the Git version of the sandbox.

Committing & Opening PRs

To commit to your repository you’ll need to import it first. You can import any GitHub repository by appending the GitHub URL to codesandbox.io/s/github. For example, for my test repository the url would be: codesandbox.io/s/github/CompuIves/codesandbox-test-git-app. The next step is to create a fork of this sandbox and make your changes, from then on you can commit or open a PR, by clicking on the buttons in the sidebar.

Create a commit or open a PR

We first try to make a commit, if this fails we try to make a merge commit. When a merge commit fails as well we fall back to opening a Pull Request. Merge conflict solving is next on our list to build inside CodeSandbox.