| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9a7ec52 commit 86bca58
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -180,14 +180,13 @@ A good commit message should describe what changed and why. | |||
| 180 | 180 | ||
| 181 | 181 | 3. Wrap all other lines at 72 columns (except for long URLs). | |
| 182 | 182 | ||
| 183 | - 4. If your patch fixes an open issue, you can add a reference to it at the end | ||
| 184 | - of the log. Use the `Fixes:` prefix and the full issue URL. For other | ||
| 185 | - references use `Refs:`. | ||
| 183 | + 4. If your patch fixes an open issue, include a reference in the pull request | ||
| 184 | + description. Use the `Fixes:` prefix and the full issue URL. For other | ||
| 185 | + references, use `Refs:`. | ||
| 186 | 186 | ||
| 187 | - `Fixes:` and `Refs:` trailers get automatically added to your commit message | ||
| 188 | - when the Pull Request lands as long as they are included in the | ||
| 189 | - Pull Request's description. If the Pull Request lands in several commits, | ||
| 190 | - by default the trailers found in the description are added to each commits. | ||
| 187 | + `Fixes:` and `Refs:` trailers are automatically added to the commit message | ||
| 188 | + when the pull request lands. If the pull request lands as several commits, | ||
| 189 | + the trailers from the description are added to each commit by default. | ||
| 191 | 190 | ||
| 192 | 191 | Examples: | |
| 193 | 192 | ||
@@ -207,7 +206,7 @@ A good commit message should describe what changed and why. | |||
| 207 | 206 | This rule does not apply to dependency updates (e.g. cherry-picks), release | |
| 208 | 207 | commits, or backport commits. | |
| 209 | 208 | ||
| 210 | - Sample complete commit message: | ||
| 209 | + Sample final commit message after landing: | ||
| 211 | 210 | ||
| 212 | 211 | ```text | |
| 213 | 212 | subsystem: explain the commit in one line | |
| Back | FazBrowse Home | New Git URL |
0 commit comments