Updated on 2025-11-18 GMT+08:00

Cloning GitHub Open-Source Repository Files to JupyterLab

Files can be cloned from a GitHub open-source repository to JupyterLab.

  1. Use JupyterLab to open a running notebook instance.
  2. On JupyterLab, click from the top menu bar to upload ModelArts files. In the displayed dialog box, click on the left to go to the page for cloning files from a GitHub repository.
    Figure 1 File upload icon

    Figure 2 Page for cloning files from a GitHub open-source repository
  3. 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-examples
    Figure 3 Entering a valid address of a GitHub open-source repository
  4. View the clone process.
    Figure 4 Process of cloning a repository
  5. Complete the clone.

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.
  • If the repository already exists in the current directory of the notebook instance, a message will be displayed, indicating that the repository name already exists. In this case, you can overwrite the existing repository or click to cancel the cloning.