Cloning an Open-Source Repository in GitHub
Files can be cloned from a GitHub open-source repository to JupyterLab.
- Use JupyterLab to open a running notebook instance.
- Click
in the navigation bar on the top of the JupyterLab window. In the displayed dialog box, click
on the left to go to the page for cloning files from a GitHub open-source repository.
Figure 1 File upload icon
Figure 2 Page for cloning files from a GitHub open-source repository
- Enter a valid address of a GitHub open-source repository, select files from the displayed files and folders, and click Clone.
GitHub open-source repository address: https://github.com/jupyterlab/extension-examplesFigure 3 Entering a valid address of a GitHub open-source repository
- View the clone process.
Figure 4 Process of cloning a repository
- Complete the clone.
Figure 5 Repository cloned
Error Handling
- Failing to clone the repository may be caused by network issues. In this case, run the git clone https://github.com/jupyterlab/extension-examples.git command on the Terminal page to test the network connectivity.
Figure 6 Failed to clone the repository
- If the repository already exists in the current directory of the notebook instance, the system displays a message indicating that the repository name already exists. In this case, you can overwrite the existing repository or click
to cancel the cloning.
Last Article: Uploading a Local File Larger Than 5 GB to JupyterLab
Next Article: Uploading OBS Files to JupyterLab
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.