How do I change the BitBucket URL for a repository

csklu@cesiumsolutions.com February 20, 2017

This question is in reference to Atlassian Documentation: Change the remote URL to your repository

How do I change the URL that Bitbucket creates for a repository.

For example, if I make a new project called SomeProject, Bitbucket will set the URL to:

https://bitbucket.org/mycomany/someproject.

But I need it to be case sensitive (having to do with source include paths), e.g. https://bitbucket.org/mycompany/SomeProject. So when a developer goes to clone it using:

git clone https://username@bitbucket.org/mycompany/SomeProject.git

it will by default create a local directory called SomeProject (instead of someproject). I know the user can just rename the new directory, but it would nice not to have to explain it every time someone clones (or remind myself to do it).

I don't see anything in the Settings that allows this. I even experimented with creating a new project but there is no where along the way where I can specify the URL.

 

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2017

Hi!

What you're asking is not possible at the moment, repo slugs are lowercased by design. There was a request to allow names to be case sensitive, but it was closed as there were no intentions to implement it at that time. I've reopened it again, you can vote for it to increase its popularity, add a comment or watch it to receive notifications. The Feature request can be found at https://bitbucket.org/site/master/issues/4374/repository-name-is-case-insensitive.

Cheers smile

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events