Skip to content

Not able to find, git clone-repo option in skill-builder lab

0

Hello, I am not able to find git-clone option on jupyter-notebook during skill-builder lab. Reference, below content from notebook. I am facing this issue in a few labs not in many others.


RTC: is not a Git repository. To use Git, navigate to a local repository, initialize a repository here, or clone an existing repository. (Option1) Open the FileBrowser (Option2) Initialize a Repository

asked a month ago69 views
2 Answers
5
Accepted Answer

The behavior you're seeing is standard for the Jupyter Git extension: it hides the "Clone" option as soon as you are inside an existing repository directory.

However, if you still can't find the option after navigating to the root folder, or if the Git extension is missing in specific labs, the most reliable way in AWS Skill-Builder environments is using the Terminal:

  • In Jupyter, go to File > New > Terminal.
  • Type git clone <your-repository-url> and hit Enter.
  • The cloned folder will appear in your File Browser on the left immediately.

This bypasses any UI inconsistencies between different lab setups!

EXPERT
answered a month ago
1

Based on the message you're seeing, it appears that you're not currently in a Git repository directory. To access the Git clone option in your Jupyter notebook environment, you need to follow these steps:

  1. Click on the Git tab (Git icon) in the left sidebar of your Jupyter interface
  2. Make sure you're in the correct directory - you should be in your user/home directory, not inside an existing Git repository
  3. If you're currently inside a Git repository, navigate back to your home directory by:
  • Clicking on the Folder tab in the left sidebar
  • Clicking the folder icon beneath the file search bar (this should take you to your user directory)
  • Then return to the Git tab
  1. Once you're in the correct location, you should see the Clone a Repository option

The message you're receiving indicates that your current working directory is not a Git repository, which is why you're not seeing the clone option. The Git clone functionality only appears when you're in a non-Git directory. If you're already inside a Git repository, the system assumes you want to work with that repository rather than clone a new one.

Try navigating to your home/user directory first, then access the Git tab to find the clone repository option.
Sources
Use Amazon SageMaker Studio Lab starter assets - Amazon SageMaker AI

answered a month ago
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.