Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Branch workflow" #198

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions 006-git-commit-messages.md

This file was deleted.

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

## Branch workflow

- Create a dedicated branch for each feature. Develop each version in specific branches.
- Before the first release, main branch is `master`.
- After the first release, create a new release branch `1.x` and make it main branch.
samdark marked this conversation as resolved.
Show resolved Hide resolved
- Major changes must be made in `master` branch.

## 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
Loading