Git Branches and Commits
Branching Strategy
At first, we employed git-flow and managed multiple branches such as develop, feature, release, hotfix, and master. However, after years of operation and trial and error, we now simply use only the main branch as the integration branch and topic branches.
Git branch naming conventions
Write the issue number and issue title in kebab-case, connected with a hyphen.
743-git-branches-and-commits
Script
We have prepared a script to create branches issue names.
npm run branch "<branch-name> #<branch-number>"
example:
npm run branch "Correct English #990"
Commit message conventions
Include the issue title and issue number.
Git Branches and Commits #743
If there are multiple commits in the same branch, provide additional details.
Git Branches and Commits #743 Update docs