Add an option to enforce all lower-case branch names for cross platform compatibility #39010
Unanswered
redwyre
asked this question in
Repositories
Replies: 1 comment
-
Commit metadata rules could be an option for you to limit branch names with a specific regex pattern. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Hi,
We have a number of programmers, all developing on windows, and we have a standard of creating branches in the form "name/task".
When creating these branches people sometimes change the case of their name part, which randomly causes issues with other developers when syncing because git uses the file system for refs and breaks when there is different case.
Having an option that blocks any branches names that contain uppercase characters from being pushed would eliminate the problem (this is not possible with the current branch naming rules).
In the meantime we are using local scripts to try and block branches from being created but since they need to be manually enabled there's always a chance another one will get through.
Beta Was this translation helpful? Give feedback.
All reactions