Skip to content

git branch model

Hiroyuki Wakabayashi edited this page Feb 8, 2024 · 11 revisions

Branch Stategy

Ref

Examples of basic git operations are described in the PR.

branch naming conventions

prefix stands for example purpose
feat/ feature feat/add_awesome_function Adding new features to src
sc/ sanity check sc/verify_some_feature Just checking some features with e2e operations
bf/ bugfix bf/fix_some_minor_error Fixing some errors in src

Commit message prefix rules

When you would save commit in dev environment, we could use one-line command:

git commit --message="some commit message here."
prefix intentions
chore: Done some work
feat: Adding some feature
refactor: Refactoring with src
fix: Finalized src with design

With this prefixing rules, it requires, for example:

git commit --message="chore: Created django-app with skelton."
git commit --message="fix: Fixed typo."

Clone this wiki locally