worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

small `merge` doc changes

Open max-sixty opened this issue 8 months ago • 1 comments

  • Merge current branch into target. Squash & rebase, fast-forward target, remove the worktree. Unlike git merge, this merges current into target — not target into current. Similar to clicking "Merge pull request" on GitHub, but locally. Target defaults to the default branch.: can we use "the target branch" or similar? just referring to target seems too terse
  • With --no-squash, this is the only commit step; with squash — the default — this is skipped and changes are staged during squash instead.: seems like this could be simpler
  • Useful after preparing commits manually with wt step. Requires a clean working tree. adjust to wt step commit

max-sixty avatar Mar 28 '26 10:03 max-sixty

Thanks for flagging these! I've opened #1783 with all three changes:

  1. "target" → "the target branch" in the command description and after_long_help opener
  2. Simplified the commit step explanation to lead with the default (squash skips commit) rather than the --no-squash case first
  3. wt step → wt step commit

A maintainer will review it shortly.

worktrunk-bot avatar Mar 28 '26 10:03 worktrunk-bot