mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
maintainers-guide: cleanup msg when squashing
This commit is contained in:
parent
a186436357
commit
7eb6873ba0
1 changed files with 3 additions and 2 deletions
|
@ -84,9 +84,10 @@ as a guideline for current and future maintainers.
|
|||
If there's a single commit in the PR,
|
||||
or if the multiple commits are not semantically independent changes,
|
||||
use the `Squash and merge` method.
|
||||
If the PR author took the time to craft
|
||||
(Don't forget to clean up the body of the squashed commit message.)
|
||||
If instead the PR author took the time to craft
|
||||
individual, informative messages for each commit,
|
||||
use the `Rebase and merge` method,
|
||||
then use the `Rebase and merge` method,
|
||||
to honor that work and preserve the history of the changes.
|
||||
For less clear-cut cases, a simple heuristic you can follow
|
||||
is that if there are more "dirty" commits than "clean" commits,
|
||||
|
|
Loading…
Add table
Reference in a new issue