Skip to content

Instantly share code, notes, and snippets.

@brunomartinspro
Created April 18, 2019 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunomartinspro/aa70cd8e0c12e7174d53cec402b79620 to your computer and use it in GitHub Desktop.
Save brunomartinspro/aa70cd8e0c12e7174d53cec402b79620 to your computer and use it in GitHub Desktop.
GitFlow Branch Regex
(^((develop|master)(?!-.*)))|((release|feature|hotfix|task|story)(-.*))
@brunomartinspro
Copy link
Author

brunomartinspro commented Jan 6, 2023

(^((develop|master|main)(?!/.)))|((release|feature|bug|hotfix|task)(/.))

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