Skip to content

[doc] Update "Merging pull requests" - #6825

Merged
UncleOwen merged 7 commits into
pmd:mainfrom
UncleOwen:update-merging-pull-requests
Jul 15, 2026
Merged

UncleOwen merged 7 commits into
pmd:mainfrom
UncleOwen:update-merging-pull-requests

Conversation

@UncleOwen

@UncleOwen UncleOwen commented Jun 29, 2026 •

Copy link
Copy Markdown
Member

Describe the PR

Update the "Merging Pull Requests" docs page.

Changes to "Example 1: Merging PR #123 into main"

  • Change the preferred merge strategy to "Squash and merge"
  • Remove parts that have since become automated

Changes to "Example 2: Merging PR #124 into a maintenance branch

  • Since every PR becomes a single commit after "Squash and merge", cherrypicking becomes trivial. That's why I rewrote the example to use cherrypicking instead of merging.

Changes to note.html/stylesheet

  • Using a <div> inside a markdown list breaks the list (See all the spurious </div>s on the current version of the page).
    I fixed it by using a <span> which is rendered as a <div> would be.

Related issues

@UncleOwen
UncleOwen marked this pull request as draft June 29, 2026 18:02
@pmd-actions-helper

pmd-actions-helper Bot commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-07-15 09:34:54+00:00 for 155d6fb)

@UncleOwen
UncleOwen force-pushed the update-merging-pull-requests branch 2 times, most recently from 1102613 to 706b762 Compare June 30, 2026 19:36
@UncleOwen
UncleOwen force-pushed the update-merging-pull-requests branch from 706b762 to e4853bc Compare June 30, 2026 19:53
@UncleOwen
UncleOwen marked this pull request as ready for review July 1, 2026 16:55
@adangel adangel changed the title [docs] Update "Merging pull requests" [doc] Update "Merging pull requests" Jul 13, 2026
@UncleOwen
UncleOwen merged commit 1b39146 into pmd:main Jul 15, 2026
13 checks passed
@UncleOwen UncleOwen added this to the 7.27.0 milestone Jul 15, 2026
@UncleOwen
UncleOwen deleted the update-merging-pull-requests branch July 15, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants