So I've managed to download a few repositories from my GitHub account already via SourceTree's clone repository option at start-up. They've downloaded and been placed correctly.
There is just one that I really need to sync-up with SourceTree that is not coming down. I do exactly the same as I normally do to add a GitHub repo, but when it starts it just gets stuck at the "Cloning From..." screen. See the image to have a look what I mean.
There are no permissions set on this repo it's exactly the same as the others I've already downloaded. I have a look at the network activity and the repo is around 300MB so the network activity should be spiking - but it's not. All the other downloaded repo's showed a spike in the download activity.
If anyone has any ideas that would be great, I just feel I've tried everything. Is there anyway to find out what it is getting stuck at? Log files? Error reports etc?
git version 126.96.36.199 (Apple Git-33)
Is the version I'm using. However the machine I'm on had some OS install issues and also when I first started installing git there were errors and I've lost track of what's there and what's not. I tried to clean everything up. I think it may be something to do with the PATH of the machine. There are a couple of installs of git on it not sure which one SourceTree would use. The version I just posted here is what I got after typing git --version in terminal.
Furthing that point and pulls or pushs work fine, in actual fact there are no further problems after the initial import.
By default SourceTree uses an embedded version of git (means you don't have to have one installed, and generally guarantees it works in a known fashion), which is currently 188.8.131.52, ie slightly newer than the Apple version. I've never seen any conflicts between those two though. Unless you switched the version of Git SourceTree was using to a system version (in Preferences > Git) while you were having those install issues?
Ah yer, I see, I didn't understand that that option was when I first took a quick glance. But I'm using the embedded version and I haven't ever changed it. I'll switch it over to the system git. I don't think I'll be able to give you an answer after switching it as I will not need to download the whole projects again.
Just a quick update, someone else in our company is having EXACTLY the same problem so many it's something in our office that is the issue...? Another thought that I'm having is that we can get all the smaller repos, but there are two that are 2GB+ that we can only get via terminal. even leaving it running in sourcetree for 48 hours + and still nothing both in the progress report and the network activity.
Sorry I can't do that they're all commercial products, I have no idea about what is setup on the network here, there are over 700 workstations so I wouldn't know. But as you say if there was a network issue then any other attempt to connect wouldn't work either. It's a very strange case we're all scratching our heads here, however we've settle with the fact that the initial import has to be done in the terminal.
Have you tried just waiting a while? Unfortunately git doesn't show the progress outside of a terminal so sometimes it's hard to judge - I know you're monitoring the network performance but that's not always a perfect guide, there's some packing / unpacking at either end which can take time too on large repos.
I've tried overnight both the day before yesterday and last night. which were both about 14- 15 hours. Still nothing when I return in the morning. I assumed as much with the packing, however when downloading a similar sized repo the network download speed stays around idle speed for 15 - 20 seconds then jumps all the way up to 6MBs.
Hmm, in that case I'm confused, if there's no difference between this and any other repo (particularly authentication). You could try cloning on the command line just to see if that elicits any more information? Git does spit out out a little more detail when it sees a genuine terminal attached (like the progress).
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot