Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cloning a Github repository spins and does nothing (Mac)

Sunil Mathew
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 4, 2020

Hello,

I am a Sourcetree user on Mac. I had it setup on a previous Mac with no issue, but was recently upgraded to a new machine. In trying to setup Sourcetree on the new Mac, nothing happens when I attempt to Clone the Github repository. The app says its working, but there is no folder created, no connection with Github (SSH key says it hasn't been accessed), no errors. Just spins indefinitely, like HOURS. I've compared the Sourcetree config on the old and new machines and it is identical. Can someone guide me here? Thanks

 

Sourcetree.png

1 answer

1 accepted

1 vote
Answer accepted
Sunil Mathew
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 4, 2020

Turns out, when Sourcetree creates the SSH keys, it should also be creating a known_hosts file in the same folder, but was not. I grabbed the known_hosts file from my previous Mac and migrated it over. This got the job done and the repo is cloning as expected!

Kishore Ramesh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2021

@Sunil Mathew How to migrate known_hosts from my previous Mac to new one

Keith Irwin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 6, 2022

I had a similar problem and I was able to migrate my known_hosts file over by going to Finder > Go > Go to Folder and then searching for ~/.ssh Once I had found the file I just used airDrop to transfer it to my new Mac.

Like Luis Regueira likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events