Forums

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

My team created case sensitive branches when running BB is on Windows host

Mariusz Dullak September 28, 2020

Hi all,

 

my team has created two branches:

1st Featurebranch

and 2nd

FeatureBranch

both are on the different commit.

Since BitBucket is installed on Windows (it was not up to me) what I have now is that on Windows in the folder HOME/shared/data/repositories/ID/refs/heads has only one file:

Featurebranch

 

This stops me from deleting the branch FeatureBranch, since system in complaining about that the branch was updated.

 

How do I fix this? I "just" want to delete FeartureBranch and keep Featurebranch.

 

1 answer

0 votes
Ed
Contributor
September 28, 2020

Perhaps you could enable case-sensitivity for the BitBucket folder, if you have permission. See the web article How to Enable Case Sensitive File and Folder Names on Windows 10 .

Alternatively, maybe you can configure git to be case-insensitive and fix the naming that way. See the BitBucket knowledgebase article Case-sensitivity in branch name causes issue .

Another suggestion, if you own the branch: locally, create a new branch with the correct name, delete the old one in BitBucket, and push the correctly-cased one.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events