简体   繁体   中英

Git - Azure DevOps UI - Feature Branch Name Case Sensitive

This is my current feature branch naming convention -

Feature/<UniqueId>-<ShortDescription> 
or
Feature/<ShortDescription>

If we create the new branch from Azure DevOps UI then because branch names are case sensitive - I may end up having branches something like this -

Feature
   feature1
   feature2
feature
   feature3

When we create branches using Git commands and Visual Studio Team Explorer - in both these, it works just fine by treating branch names as case insensitive. It's only with Azure DevOps UI that it treats 'Feature' and 'feature' as different.

So, I tried using tf permission commands .

It works fine for branch folder - so I can enforce branches to be created under a specific folder - which is "Feature" in my case.

However I realised that I have no control over branches being created as -

Feature
   feature1
   Feature1
   feature2

Anyone can please guide how can I create case insensitive branch names using Azure Devops UI.

Thanks a lot!

You can enable Case enforcement

在此处输入图像描述

The result:

在此处输入图像描述

Check the additional documentation: Git Cross-Platform Compatibility

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM