Alejandro Vidal Rodriguez
Director of Engineering @TribalScale
Branches and flow
Feature branches
BugFix branches
Commits
Release branch
Hot-fix branch
PR & code review
[Extra] Semantic commits
[Extra] Cherry picking
git checkout develop
git checkout -b feature/mw-123-special-vesselEach new feature should reside in its own branch, which can be pushed to the central repository for backup/collaboration. But, instead of branching off of master, feature branches use
git checkout develop
git checkout -b bugfix/mw-123-vessel-errorEach new bug should reside in its own branch, which can be pushed to the central repository for backup/collaboration. But, instead of branching off of master, bugfix branches use develop as their parent branch. When a bugfix is complete, it gets merged back into develop.
Sample
feat: add hat wobble
^--^ ^------------^
| |
| +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.Sample
https://github.com/commitizen/cz-cli
npm install -g commitizen
git add .
git czOnce develop has acquired enough features for a release (or a predetermined release date is approaching), you fork a release branch off of develop.
contact
goofyahead@gmail.com
https://www.linkedin.com/in/alejandrovidalrodriguez
https://medium.com/@goofyahead
https://github.com/goofyahead