Import a workspace from a Git repository
If you have a Git repository with notebooks and other files, you can import it to Datalore and use it as an own workspace. The import works as follows:
The new workspace in Datalore borrows the title of the imported Git repository.
All .ipynb files of the imported Git repository are added to the Notebooks section.
All other files are added to the Files section of the new workspace data.
The original folder structure of the imported Git repository is preserved.
On the Home page, click the New workspace button in the lower left corner of the screen. This will open the New workspace dialog.
In the New workspace dialog, switch to the From repository tab.
Your further steps depend on whether you want to import a public or private repository. Choose the respective tab and continue as instructed:
Public repositoryPrivate repositoryProvide the URL in the Repository URL field.
Provide the URL in the Repository URL field. This will enable the Add SSH key button.
Click the Add SSH key button. This will open the Add SSH key dialog.
In the Add SSH key dialog, paste a private key or add an automatically generated one by clicking generate one in the text under the Private key box.
Click Copy public key and add the copied public part of the key to the target Git repository. For example, in GitHub, it's in Settings | Deploy keys | Add deploy key.
Click the Add key button.
(Optional) To import a branch other than the default one, do the following:
Expand the list under Default reference.
Click the Fetch list of references button.
Select a branch from the list.
Click the Create workspace button.
Result
The new workspace is added to the Workspaces you own category.
To find the other files from the imported repository, go to Data | Files.
To edit the workspace, copy the public key or view the key details, go the workspace settings.
Thanks for your feedback!