Skip to content

Commit 7c9208c

Browse files
committed
chore: add repo import screenshot
1 parent 891570c commit 7c9208c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
68.6 KB
Loading

packages/projects-docs/pages/learn/repositories/getting-started/repo-import.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@ description: This guide is the first step to get started with CodeSandbox for yo
55

66
import { Callout } from 'nextra-theme-docs'
77

8-
98
# Import a repository
109

11-
If you haven't already imported a repository, you can do so by navigating to the Recent page in the dashboard and clicking “Import from GitHub”.
10+
If you haven't already imported a repository, you can do so by navigating to the [Recent page](https://codesandbox.io/dashboard/recent) in the dashboard and clicking `+ Repository`.
11+
12+
If you have already granted GH OAuth permissions, you will see a list of GitHub organizations that you are a part of.
13+
Select the organization containing the repository that you want to import and select the desired repo. If you don't see your repository, you may need to insert the GitHub URL into the input field (e.g. “codesandbox/test-sandbox”).
1214

13-
If you have already granted GH OAuth permissions, you will see a list of GitHub organizations that you are a part of.
14-
Select the organization containing the repository that you want to import and select the desired repo. If you don't see your repository, you may need to insert the GitHub URL into the input field (e.g. “codesandbox/test-sandbox”).
15+
![CodeSandbox Import Repo](../../images/import-repo-new.jpg)
1516

1617
<Callout emoji="💡">OAuth permissions allow CodeSandbox to list the repositories you have access to as well as permissions to execute git actions that allow the editor to stay up-to-date as you code.</Callout>
1718

1819
The first time you import a repo can take a while. During the first time setup, we clone the repository into the VM and set up the folders for the project. However, after this setup, we will create a [memory snapshot](/learn/environment/vm#memory-snapshotting) of the VM, which will ensure that all the following VM loads (& clones!) will be fast.
1920

20-
At this stage, you will have the main branch of your repository imported into CodeSandbox. But before we dive into the environment setup, let's use the next chapter to look at how we handle branching.
21+
At this stage, you will have the main branch of your repository imported into CodeSandbox. But before we dive into the environment setup, let's use the next chapter to look at how we handle branching.

0 commit comments

Comments
 (0)