Skip to content

Branch naming validation #64

Description

@vladysta

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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