Our default branch is main
, which receives new features and bugfixes. Release branches, e.g. release-3.0
, will not received new features but bugfixes. Opening a pull request for the release branches is what we called “backport”.
The format of the title of PRs should be:
<type>: One line summary of the PR
The types are including(https://www.freecodecamp.org/news/how-to-write-better-git-commit-messages/):
If this PR is to backport to other branchs, e.g. 3.0
, then the title would be:
[3.0] <type>: One line summary of the PR
Each pull request MUST have a corresponding issue to explain what does this PR do. The format of message should be:
(A brief description about this PR.) Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Fixes: #1000 Signed-off-by: Example <example@example.com>
The signed-off message will be appended automaticaly if the developers commit with -s
option, for example, git commit -s
.