worktrunk
worktrunk copied to clipboard
small `merge` doc changes
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 totargetseems too terseWith --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 simplerUseful after preparing commits manually with wt step. Requires a clean working tree.adjust towt step commit
Thanks for flagging these! I've opened #1783 with all three changes:
- "target" → "the target branch" in the command description and after_long_help opener
- Simplified the commit step explanation to lead with the default (squash skips commit) rather than the
--no-squashcase first wt step→wt step commit
A maintainer will review it shortly.