You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm very new to git and I've been cloning a repo from BitBucket cloud in SourceTree to my local machine for roughly an hour now. My internet connection is average and so I'd usually chalk this up to a large repo (I don't have access to check the repo size in BitBucket but I'm cloning an organization's entire website, so I assume it's quite large).
However, the loading bar for the cloning process is full, yet the the output is stuck on "cloning into '<path to repo>'. . ."
Apparently there's no way to accurately check the progress of a clone, but this seems like an abnormally long time. Does this sound like the cloning is stuck or has encountered an error somewhere?
EDIT: Spelling
Apparently it was an issue with SSH. After about 2.5 hours the clone failed and I tried again using HTTPS. It worked fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ahmedur,
As I mentioned above, all I had to do was use HTTPS and the clone was successful.
Unfortunately I don't remember any more of the details of this issue.
Best of luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had exactly the same issue on my Mac using SourceTree and a GitHub account.
This is how I solved it:
i.e.: git clone git@github.com:MyRepoPath.git
The authenticity of host 'github.com (xxx.xxx.xxx.xxx)' can't be established.
###### key fingerprint is SHA256:******************
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])
Hope it helps! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, this got me 99% of the way to fixing my stuck clone job in source tree issue. There was just one additional step I had to take.
After running the git clone command in terminal, an RSA key was added for bitbucket.org inside my known_host file. The problem was is that it appended the line at the very end of an existing RSA key for a different host. I had to break the 'bitbucket.org ssh-rsa' to it's own line and boom source tree could properly parse the known_hosts file and no longer get's stuck when cloning repos using ssh keys.
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried both SSH and HTTPS, and they both seemed to take an eternity. Then I tried cloning with Git Bash (a text-command tool), and it showed progress was slow but steady.
The problem is that SourceTree's progress bar is completely useless, since it doesn't actually show progress. Additionally, the "Show full output" checkbox also does not show full output. So it's impossible to know if anything is happening. I found that using a command-line tool gives you a lot more information than SourceTree's GUI:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this. also, i'm using bitbucket so i don't know if that's related, but the fact that it works nicely from the terminal indicates a bug on the sourcetree side
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I could clone from URL in sourcetree successfully for a smaller git repo but when I tried same for a big repo then it got stuck forever.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This definitely seems to be a problem with Bitbucket's SSH implementation. I have been able to make SSH connections and do clones of Github repositories using SSH URLs. As soon as I did a clone of the HTTPS variant, the BitBucket variant worked. 100% this is something broken with Bitbucket. Now with Gitlab or Github offering private repos, it may not be work keeping code in Bitbucket with fundamental problems like this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had to use Tortoise Git to see the progress in byte transfer to know whether actually something is happening when cloning.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally solved for me. I installed and opened the GitHub extension then signed in, then it asked for the browser authentication. after that, I ran the command again, and it pulled the repo into local.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was getting stuck at "Updating files: 100%" when cloning a git repo on Windows.
I changed to use System git instead of Embedded git, and that workaround fixed it for me.
See `Sourcetree -> Options -> Git -> Git Version`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my case, I realized that using different Internet connection to the one when I first cloned it using SSH caused the problem so maybe try to check which Internet connection you used
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.