Skip to content

Commit

Permalink
Add "Branch workflow"
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Jan 6, 2024
1 parent daa36ba commit 2b71f52
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
17 changes: 0 additions & 17 deletions 006-git-commit-messages.md

This file was deleted.

27 changes: 27 additions & 0 deletions 006-git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 006 - Git

## Branch workflow

For each feature is used a dedicated branch. The development of each version is carried out in the specific branches.

Before the first release, main branch is `master` only.

After the first release, `master` branch must rename to `1.x`. For major change must be created a new branch with usage
next version as name (for example, `2.x`). The main branch is the branch with the current stable release.

## Commit messages

### Subject line

- Use `#123` to reference issue by number
- Use imperative mood that's `Fix`, not `Fixed`
- Don't add period at the end
- Use `[skip ci]` if there is no need to run unit tests
- Start with a capital letter
- Limit to 50 characters

### Body

Use message body **if** you need an extra explanation. Explain why, not how.

- Limit line length to 72 characters
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- [003 - Roadmap](003-roadmap.md)
- [004 - Namespaces](004-namespaces.md)
- [005 - Development tool](005-development-tool.md)
- [006 - Git commit messages](006-git-commit-messages.md)
- [006 - Git](006-git.md)
- [007 - Exceptions](007-exceptions.md)
- [008 - Interfaces](008-interfaces.md)
- [009 - Design decisions](009-design-decisions.md)
Expand Down

0 comments on commit 2b71f52

Please sign in to comment.