Clone a Git Repository in SageMaker Studio
Amazon SageMaker Studio can connect only to a local repository. In this example, you clone the
aws/amazon-sagemaker-examples
To clone the repo
-
In the left sidebar, choose the File Browser icon (
).
-
Choose the root folder or the folder you want to clone the repo into.
-
In the left sidebar, choose the Git icon (
).
-
Choose Clone a Repo.
-
In the Clone a Repository window, enter the URI for the SageMaker examples repo
https://github.com/aws/amazon-sagemaker-examples.git
or select a repository from the list of Suggested repositories. -
Choose Clone.
-
If the repo requires credentials, you are prompted to enter your username and personal access token.
-
Wait for the download to finish. After the repo has been cloned, the File Browser opens to display the cloned repo.
-
Double click the repo to open it.
-
Choose the Git icon to view the Git user interface which now tracks the examples repo.
-
To track a different repo, open the repo in the file browser and then choose the Git icon.