It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

getting the https url of a bitbucket repo from a ssh url

Hello friends:

Thank You for your time and attention in advance.

I am in a situation where I have clone a Bitbucket repo with a ssh url.  It works well.

But for sharing info with other teams and other members of our team I would like to send a https url.

For example I have

ssh://git@bitbucket.es.ad.adp.com:7999/upenv/configuration-values.git

How to get the https equivalent of that aka

https://abcd@bitbucket.es.ad.adp.com/scm/upenv/configuration-values.git

 

Kindly help.

-Narahari

2 answers

2 votes
Kim Fox I'm New Here Mar 22, 2019

WHY?!?!?!? Every time I go to do this I'm hunting for like 30 minutes for it. Where is this clone button??? And why can't they list this information like normal people. 

0 votes
Thiago Bomfim Atlassian Team Oct 13, 2016

Hi Narahari,

The best way is for the user to obtain the URL using the UI.

You could also get the Clone URL by using a REST endpoint - no need to use a browser, if that's your situation. I explained that on https://answers.atlassian.com/questions/39424368. Note that the output contains both HTTP and SSH clone URLs.

If the users already have the SSH URL, deriving the HTTP url is easy; as you can see the only difference is the SCM and also the port; you seem to be running Bitbucket behind a proxy which is the reason why you don't specify the port number.

I hope that helps.

Thiago

David Burgess Jun 04, 2018

"The best way is for the user to obtain the URL using the UI."

 

Yes, but how do you do that ?

Thiago Bomfim Atlassian Team Jun 04, 2018

There is a "clone" button on the sidebar

Nick Bourdon Jul 19, 2018

Thiago,

can the URL be added to the Repository Details page under settings? This is very basic information for a repository that should definitely be easier to find than your suggested methods.

Thanks,

Nick

Hernan Gonzalez I'm New Here Nov 29, 2018

I agree with the request above. It's painful to find the repository url (which is NOT only used for clone!)

Like # people like this
DerekM Dec 06, 2018

It's in the clone button popup. and under the repo name in the settings page

Hernan Gonzalez I'm New Here Dec 06, 2018

DerekM 
 I don't see the url "under the repo name in the settings page" ... do you?

 Yes, it's in the "clone" popup, but it's bad design that it appears only there. I'm not intending to clone.

 

 

Clipboard-1.jpg

Like # people like this
Guillaume Laurent Jan 29, 2019

I've just lost several minutes looking around for that exact same information (a repository's URL), and came here through a google search.

I completely agree, hiding it behind the "Clone" button is just bad design. That button implies there's an action behind it, which you do not want to perform, you just want the damn URL. Put it in the repo details, that's the logical place for it to be.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,865 views 1 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you