Skip to content

Instantly share code, notes, and snippets.

@ariesmcrae
Created September 7, 2023 03:41
Show Gist options
  • Save ariesmcrae/29b3ea710d780a95e5791b2c65ffabb4 to your computer and use it in GitHub Desktop.
Save ariesmcrae/29b3ea710d780a95e5791b2c65ffabb4 to your computer and use it in GitHub Desktop.
Git Semantic Branch Names
branch prefix desc touches prod code
+:refs/heads/(feature/*) add new feature Y
+:refs/heads/(fix/), +:refs/heads/(hotfix/) bug fix Y
+:refs/heads/(refactor/*) change code.e.g. renaming a variable Y
+:refs/heads/(docs/*) changes to docs N
+:refs/heads/(style/*) formatting, missing semi colons N
+:refs/heads/(test/*) adding missing tests, refactoring tests N
+:refs/heads/(chore/*) updating build scripts N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment