I'm using sourcetree and I plan to clone a repository from our github but my sourcetree got stuck on "checking source" I wonder whats the problem and how could I resolve it. I already tried using the embedded git but still it does not work
Looks like no one was able to help with this issue. I found that getting stuck on "checking source" generally means an issue with your Git client. This can boil down to a few things.
- Basic configuration
Are you using system/pre-existing Git, and it was removed or configured incorrectly? You may need to fix this, or switch to the "embedded Git" that SourceTree can install. - Credential failure
Double-check to make sure all of your credentials are correct (or delete them entirely to re-enter). SourceTree keeps authentication information in Tools > Options > Authentication. - SSH keys/client configuration
By default you'll find SourceTree attempting to communicate via SSH, this may or may not work with some hosts, if you do not have them trusted or "known". You can test getting around this by using HTTP(S) to clone your repository.
SourceTree doesn't make it very easy to observe when issues arise like this, just the ominous "checking source" that I was plagued with as well. If you haven't already figured it out or nuked it from orbit, hopefully this helps!
For me (Setup: new Mac / MacOS V 10.15 / SourceTree / Github), the issue was that Apple's Command Line Tools for XCode were not installed. Installing them worked like a charm.
This worked for me on a Mac
- Open the terminal and try git clone [email protected]:willemmulder/someRepo.git
- Mac wanted to install XCode tools for me to make the git command work
- After installation, perform the git clone again
- Mac will ask you to trust the remote IP. Accept.
Now Sourcetree also works.
I solved this by checking connection to the host and then adding the host to known hosts when asked. Try calling this with your host or just manually add the host to known hosts file (.ssh/known_hosts)
ssh -T [email protected]
It could may well be the fact that the DNS server is not responding with the hostname you provided. Try using the actual IP.
Try :
ssh://[email protected]/pathto ->/...
Instead of :
ssh://[email protected]/pathto ->/...
First make sure you have loaded your private keys into Pageant, and then try again.
If still have trouble, try to use PuTTY to SSH into the git server hosting the repo. You might receive actually useful errors. Resolve those errors then try again to clone the repository via SourceTree. (Thanks for the comment Jake)
© 2022 - 2024 — McMap. All rights reserved.