-
Notifications
You must be signed in to change notification settings - Fork 0
git branch model
Hiroyuki Wakabayashi edited this page Feb 8, 2024
·
11 revisions
Examples of basic git operations are described in the PR.
| 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 |
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."