Skip to content

Instantly share code, notes, and snippets.

@anoxic
Forked from revett/git_branch_naming.md
Last active May 22, 2018 15:54
Show Gist options
  • Save anoxic/cb37d30506fc4ed3388cf94ac4c16877 to your computer and use it in GitHub Desktop.
Save anoxic/cb37d30506fc4ed3388cf94ac4c16877 to your computer and use it in GitHub Desktop.
Git Branch Naming Conventions

<type>-<name>

<type>

bug    - Code changes linked to a known issue.
clean  - Cleans up whitespace, organization, re/de-factoring.
dev    - Experiments (will not be merged without a rename). Doesn't need a status.
feat   - New feature.
hotfix - Quick fixes to the codebase.
perf   - Performace enhancements.

<name>

Always use dashes to seperate words, and keep it short.

Examples

feat-renderer-cookies
hotfix-dockerfile-base-image
bug-login-ie
dev-redis-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment