I have created my first repository on bitbucket and newly downloaded git and sourcetree. when I attempt to clone the repository and source tree asks me to enter the source path, I am given the message "This is not a valid source path" and the details are :
warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)
abort: HTTP Error 404: Not Found
error: Failed to connect to 126.96.36.199: Can't assign requested address while accessing https://email@example.com/tallen92/physical-modelling-synth.git/info/refs
fatal: HTTP request failed
Any suggestions on what is wrong ?
Are you sure you have the right URL? I can't see that project presumably because it's private, but please double-check the URL is correct because that's the only reason you'd get a 404 barring some intermittent issue.
If it definitely looks right according to the clone details on Bitbucket then maybe this is a Bitbucket issue, although I've never seen it happen before.
Thanks, I can see the repo just fine:
I'm thinking authentication now, but a) SourceTree should prompt you if there's an authentication error, and b) you wouldn't get a 404. Just to be sure can you go into Tools > Options > Authentication and delete your saved password for Bitbucket? You should get re-prompted then just to be sure.
Hmm, that suggests it's never prompted you to log in, so never saved your login details. Looking at the repository now, it's public so actually you wouldn't be asked to log in anyway so that makes sense, and from the error you were getting before (404) I guess it makes sense that it never got to the login prompt. So I guess we can rule out authentication. I just deleted my saved password for Bitbucket here and tried cloning your repo again, and it cloned just fine with no password prompt as expected because it's now public.
So I'm at a loss why you're getting a 404 when you try to clone. You're *definitely* using this URL, right?
If so, do you have anything locally which might be intercepting your HTTPS requests, like a proxy setup or some other web relay which could be triggering some intermediate error?
I can only assume this proxy is blocking git's access to bitbucket.org, because everything works fine with your repo from here. This setting will be stored in your %USERHOME%\.gitconfig, you can comment it out with '#' and try on a different network to see if that's the case.
I removed the proxy settings so the file looks like this.
name = Tyrone Allen
email = firstname.lastname@example.org
excludesfile = /Users/tyroneallen/.gitignore_global
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
I have a same problem
I can't clone the repository (testrep)
I checked .gitconfig file however I cannot find the http proxy setting.
What is the problem ?
I am not sure whether the soulution is right or not.
I see the "Protocol https not supported or disabled in libcurl".
I copied the "libcurl.dll" file from "C:\Users\KKK\AppData\Local\Atlassian\SourceTree\git_local\bin\" to "c:\Windows\SysWOW64\"
After copying the file, the clone works well again.
Sorry for the late answer guys.
Step 1: Make sure you've installed Git from http://git-scm.com
Step 2: Set git proxy.
In Git bash, type
git config --global http.proxy http://proxyuser:email@example.com:8080
git config --global https.proxy https://proxyuser:firstname.lastname@example.org:8080
Step 3: Set SourceTree to use Git
Now, in SourceTree, go to Tools>Options, then in the "Git" tab, enable git support by doing whatever necessary.
Step 4: Connect Bitbucket account, and use HTTPS, not SSH
Now, it should work just fine.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs