Sergio Barker Subiboi
Sergio Barker Subiboi

Reputation: 29

"git clone" is not working when i try to clone a repo on my pc

I am having issues with cloning repos.

I enter

$ git clone https://github.com/username/myrepo

Cloning into "myrepo" ...

and then nothing happens.

I believe it happened after I installed Dockertools and localstack. Not sure what has changed

Upvotes: 1

Views: 11931

Answers (2)

hakuna_matata
hakuna_matata

Reputation: 123

I faced the similar problem. In my case public repos are cloning correctly but for private repos it only showed "Cloning into [projectName]" but nothing happened.

Solution was: I just added SSH key to my bitbucket setting.

Here is 2 URL I followed.

Tutorial Doc

Youtube video

After this your problem should be solve if it hung for private repo.

Upvotes: 1

Ankit Jindal
Ankit Jindal

Reputation: 4040

Use the following steps for git clone

  1. Visit your repository on github
  2. Copy the https link from the repository as shown in the image below

git clone

  1. Run command git clone https-link

This will clone the git repo to your folder where you executed that command

Upvotes: 2

Related Questions