mantisbt:git_commit_messages
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mantisbt:git_commit_messages [2014/05/30 06:10] – Clarified sign-off dregad | mantisbt:git_commit_messages [2018/02/06 08:35] (current) – [Checklist] Bug reference examples dregad | ||
---|---|---|---|
Line 25: | Line 25: | ||
* Description must be **understandable** for everyone | * Description must be **understandable** for everyone | ||
- **Bug reference** | - **Bug reference** | ||
- | * Optional, but most commits should reference an issue in the [[http:// | + | * Optional, but most commits should reference an issue in the [[http:// |
- **Sign-off** if the commit' | - **Sign-off** if the commit' | ||
Line 82: | Line 82: | ||
* **vi/vim** < | * **vi/vim** < | ||
+ | |||
+ | |||
==== Description ==== | ==== Description ==== | ||
+ | |||
+ | === Contents === | ||
The commit' | The commit' | ||
Line 99: | Line 103: | ||
* give **credit** to the original author. \\ Use '' | * give **credit** to the original author. \\ Use '' | ||
- | * be **signed off** by the committer if different from author (see [[below]]) | + | * be **signed off** by the committer if different from author (see [[git_commit_messages# |
- | With regards to formatting | + | === Formatting === |
* Separate paragraphs with 2 newlines | * Separate paragraphs with 2 newlines | ||
Line 113: | Line 117: | ||
=== Sign-off === | === Sign-off === | ||
- | When committing changes submitted by non-core team members, the commit must be signed off by the committer (use '' | + | When committing changes submitted by non-core team members, the commit must be signed off by the committer |
+ | This is not necessary when merging several commits as a feature branch, as the merge commit itself will serve as sign off. | ||
===== Examples ===== | ===== Examples ===== | ||
Line 159: | Line 164: | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
===== To do ===== | ===== To do ===== |
mantisbt/git_commit_messages.1401444606.txt.gz · Last modified: 2014/05/30 06:11 (external edit)