proposed by @peterbitfly
At the moment commit messages are not formatted in a standard way.
This makes it harder to work together, e.g. when resolving merge conflicts
, using line blaming
, to revert
a change or
understand the history of the project
.
Especially to create release notes
.
We are using Conventional Commits for commit messages.
- Commit messsages
MUST
be formatted inconventional commits
style. - Every change that belongs together
SHOULD
be part ofone commit
. - There
MUST NOT
becommits
likeimplement review feedback
ormake linter happy
. - Teams (e.g. frontend, backend, mobile)
SHOULD
come up withguidelines
regarding:types
(teamsSHOULD
stick to the default set) andscopes
- One pull requesst
MAY
contain multiple commits. - Every
Pull Request
(opened by abitflyer
)SHOULD
have onecommit
that has aFooter
with anissue number
(likeBEDS-XXX
). - Every
Branch
(created by abitflyer
)SHOULD
contain theissue number
as prefix (likeBEDS-XXX/<name>
) - Before
merging
intostaging
all commitsMUST
berebased
(enforced by project settings).
👇 Template: copy from here 👇
proposed | rejected | accepted | deprecated | superseded by D-XXX
What is the issue that we're seeing that is motivating this decision or change?
What is the change that we're proposing and/or doing?
What becomes easier or more difficult to do because of this change?
- Documenting architecture decisions - Michael Nygard