Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Avoiding Case Changes in a Cloned Repository

bioan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 20, 2023

Hello everyone,

I'm facing an issue with a cloned repository where the case of letters in repository name are being changed from uppercase to lowercase. 

For example, I have a repository called TestApp in Bitbucket and when I cloned it into my local PC it appears like testapp not TestApp.

Is there a way to prevent or avoid this behavior?

I appreciate any insights or suggestions you may have.

Thank you!

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2023

Hello @bioan and welcome to the Community!

Bitbucket Cloud repositories are not case sensitive, but when cloning a repository, you can provide the name of the folder you want to save the repository right after the git command, like in the below example : 

git clone git@bitbucket.org:WORKSPACE/testingcase.git TestingCase

In the above example, the repository would be saved inside a folder named TestingCase.

If you don't provide the folder name, git will create a folder based on the name of the repository : 

  • Save the repo in the folder testingcase
    git clone git@bitbucket.org:<Workspace>/testingcase.git
  • Save the repo in the folder TestingCase
    git clone git@bitbucket.org:<Workspace>/TestingCase.git

Both the commands would clone the same repository as they are case insensitive from Bitbucket Cloud's perspective.

Hope that helps! Let us know in case you have any questions.

Thank you, @bioan !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events