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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,774 views 26 12
Join discussion

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