How do I change the BitBucket URL for a repository

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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,008 views 1 5
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you