I am new to BitBucket, and the company I am freelancing for uses BitBucket to edit their code. So, they already had an existing repository, and I want to create connect it to the SourceTree computer app. Upon install, the app asks for the root url, which I am not to sure what is it.
I think I found somewhere online that it could be http[s]://<repo_owner>@bitbucket.org/<repo_owner>/<repo_name>.git but that is not working either.
Thank you for those to help em out!
The main issue in this thread seems to be Bitbucket Cloud users trying to register using the Bitbucket Server method. Please note that there are 2 ways of registering Sourcetree: 'Bitbucket Server' and 'Atlassian account'. If you have a Bitbucket Server account, use the 'Bitbucket Server account'. If you DON'T HAVE a Bitbucket Server account and instead you use Bitbucket Cloud, Github or any other service, you need to register using an Atlassian account.
After this step has been completed and the installation process finished, you'll be able to connect your repos following the steps at Connect your Bitbucket or Github account.
Hope that helps!
Im installing sourcetree in October and I had the same confusion.
I think its down to human error where you see Bitbucket and you immediately click it without thinking.
Which calls for two changes in the setup:
You should make it more clear.
You should put this information on the setup page so people dont get frustrated and have to Google it.
No only frustrating but also annoying. I've just downloaded the latest ST version 3_0_200 onto my Mac OSX 10.13.3 (cannot upgrade to 10.13.6 or 10.14 for other reasons) and am unable to register it using the Server (managed to connect to Cloud but don't want any info to be shared with Cloud account and only our self-hosted BB Server so Cancelled). When tried to access Cloud the app would crash every time after clicking BitBucket Cloud icon 3 times anyway. The BitBucket Server, on the other hand, doesn't reckognise my valid credentials that work on our JIRA server instance - simply rejects any combination. Base URL (take from BB settings), username and password are 100% correct (removed partial login details for security).
Atlassian - what's going on on your side? Everything seem to be progresively degrading on your side...
Thanks Ana. I actually figured out the answer later that day. For me, it was http[s]://<username>@bitbucket.org/<repo_owner>/<repo_name>
Referring the Connect your Bitbucket account was where I first started, but I believe that was when you already did the setup. SourceTree now has connect to your Bitbucket Cloud / Server when you startup the app for the first time.
I am new to bitbucket and I downloaded sourcetree but when I start installation it asked me to give it ROOT URL and I gave it URL in following formates but it said "Invalid URI: The hostname couldn't parsed."
Can anyone help me please
Hi Luotao, seems like you're in the same situation than the users above, they were trying to register using their Cloud credentials, but the only options available for registration are Bitbucket Server credentials and Atlassian account. If that's your case, you'll need to register the product using your Atlassian account (email address and password) and after that you'll be able to connect your Bitbucket Cloud account.
If you're not sure, you can post a screenshot and we'll guide you.
Kind regards :)
Hi Grant! I'm not sure what are you asking me to do... What issue are you experiencing?
If it's different from the question the author posted, please submit it as a different thread so we can keep this tidy and helpful for the rest of the users :)
I am trying the following steps
1. Install Source Tree for Windows
2. I go to https://bitbucket.org/darden/registrar/src/master/ and click clone and choose https. It gave. https://email@example.com/darden/registrar.git
3. I took that url and put it in. When I type in my username I use login to bitbucket I get the below error, "Invalid URI: the hostname could not be parsded"
Great. I have logged in. Now what are the steps to get past this? I currently authenticate by ssh with a key.
If I do this on my local repo that works, I get
C:\dev\registrar>git remote -v
origin ssh://firstname.lastname@example.org/darden/registrar.git (fetch)
origin ssh://email@example.com/darden/registrar.git (push)
First, change "Bitbucket Server" to "Atlassian account". If your repos are at bitbucket.org then you are not using Bitbucket Server (bitbucket.org is Bitbucket Cloud).
Bitbucket Server is self-hosted and has a URL other than bitbucket.org.
Once you've changed from "Bitbucket Server" to "Atlassian account" then you should be able to continue.
Hi @Nick Skriloff, the Atlassian account was only needed to register the product upon installation, you won't need it in Sourcetree anymore.
Now, you're trying to set up your remotes, which are hosted in Bitbucket Cloud. Once you select 'Bitbucket' in the drop-down, you'll need to enter your Bitbucket username in the 'Username' field (all the Bitbucket Cloud URLs are https://bitbucket.org/<username>/, that's why we only need the username as that's what makes your account unique). In your case, you'll need to enter 'darden' (without the quotation marks).
This is explained at Connect your Bitbucket account.
Hope that helps! Let us know if you have any other difficulties and we'll be glad to help.
I am unable to connect to BitBucket Server.
I got the following URL from clone:
I put the same on SourceTree to connect to BitBucket Server, but I am getting the error "Failer to list groupings for user"
Please let me know how to resolve this issue?
@Ana Retamal Ortiz Thanks.
Following comment helped me and I've successfully set it all up.
>Hi @@sheikhsohaib0 and @Mohammad Tasneem Faizyab, looks like you both have >Bitbucket Cloud accounts, but you're trying to use the Bitbucket Server authentication >prompt to log in. If you don't have a Bitbucket Server account, you'll need to register >using the other option (Atlassian account) and once the installation process is >completed, you can add your Bitbucket Cloud account following the steps at Connect your Bitbucket account.
>Let us know if you still have any issues and we'll be glad to continue helping you!
Try this. If you guys have an existing repo that you have access to, go to your BitBucket account. Once you get to that repo that you want access to, click the button clone thats near the top right. It will give you the a git command line, copy everything besides the git clone part, which should end up like what I said early, http[s]://<username>@bitbucket.org/<repo_owner>/<repo_name>. Whatever your repo clone gives that should be it though.
Hi @sheikhsohaib07 and @Mohammad Tasneem Faizyab, looks like you both have Bitbucket Cloud accounts, but you're trying to use the Bitbucket Server authentication prompt to log in. If you don't have a Bitbucket Server account, you'll need to register using the other option (Atlassian account) and once the installation process is completed, you can add your Bitbucket Cloud account following the steps at Connect your Bitbucket account.
Let us know if you still have any issues and we'll be glad to continue helping you!
I'm having the same issue. I registered using Atlassian but it still asks me for the URL above. I've tried all combinations and have no idea what I should be entering in this space. To make matters worse my Atlassian account is connected with my gmail. Does it want my gmail password or my Atlassian password? I haven't used Atlassian to log in for years.
Guys, I think I got the solution for lots of people.
For our team it worked if you just put in your browser url of the repository .
It should look something like this:
Hi @Divyamsh, in Sourcetree there are 2 ways of registering: one is using your Atlassian account, and the other one is using your Bitbucket Server account. You are a Bitbucket Cloud user, however you're trying to register using the Bitbucket Server method. Please go back and select 'Atlassian account', then you'll be able to log in using your Bitbucket Cloud credentials (your Atlassian account and Bitbucket Cloud account share the same email address and password).
Let us know if you need any further assistance!
Apart from that, IE needs to be configured at a minimum as follows:
- Cog/Internet options/Security settings need to be enabled
- Misc/Access data sources across domains
- Misc/Allow META-REFRESH
- Scripting/Active Scripting
- The browser mode set to 10
- The document mode set to 10
These can be set using the F12 developer tools.
Those are the settings that matter. It should also be able to set them indirectly by:
- making sure https://id.atlassian.com is NOT set to be rendered in Compatibility Mode
- Set Cog/Internet options/Security to Medium-High
Let us know if this helped you!
I am facing the same problem. This is incredibly annoying. Who came up with this horrible idea!!!!! You are really making sure we don't use the source-tree anymore.
anyway, I tried what other people suggested and no luck.
I have a repo called "arara" and my user name is gmmo, see the screen shots and the problem. What would be the correct strings?
trying to start source tree, and stuck:
I struggled with the same issue for a long time.
I wanted to connect SourceTree with my BitBucket Server.
Reading the several hints on this page, I tried the URL that I got when I hit clone on my repo on the server.
That didn't work either.
So, I selected the option of Clone using SourceTree and voila !!!
It opened up the appropriate window and when I hit clone, my repo and branches etc. are there now in SourceTree.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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