Skip to content

Instantly share code, notes, and snippets.

@tranghaviet
Last active July 12, 2019 10:14
Show Gist options
  • Save tranghaviet/3b94a834c160266e71b5c40d09d4c53d to your computer and use it in GitHub Desktop.
Save tranghaviet/3b94a834c160266e71b5c40d09d4c53d to your computer and use it in GitHub Desktop.
Git Branch Naming Convention

#Branch Naming

Branches being created should have the following format:

<story type>/<story id>-<3-4 word story description>

#Example

chore/123-change-title

The story type indicates the context of the branch and should be written in full and with lowercase letters:

  • feat
  • chore
  • bug
  • release
  • test
  • hotfix

The story description is a summary about the purpose of the branch.It is delimited with hyphen (-). For example, travis-ci-setup

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