Skip to content

Branch naming validation #64

@vv12131415

Description

@vv12131415

I'm in love at first sight with this repo ❤️

My idea is to validate branch name against some pattern

so for example,
as I personally mostly use git flow.

Plus I want to see ticket number as a part of the branch
so I write this regex

^(feature|hotfix|bugfix|release)\/(ABC\-)\d{1,}\-[a-zA-Z]+

which will match this one

feature/ABC-3-asddas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions