Skip to content

[Fix] Duplicate from current worktree#73

Merged
samzong merged 1 commit into
mainfrom
fix/wt-dup-current-worktree
May 15, 2026
Merged

[Fix] Duplicate from current worktree#73
samzong merged 1 commit into
mainfrom
fix/wt-dup-current-worktree

Conversation

@samzong
Copy link
Copy Markdown
Owner

@samzong samzong commented May 15, 2026

What's changed?

  • Default gmc wt dup to the current worktree branch when --base is omitted.
  • Create duplicate worktrees as siblings of the current worktree.
  • Add regression coverage for duplicating from a feature worktree.

Why

  • gmc wt dup should fan out from the operator's current working context instead of falling back to main or the original root worktree.

Signed-off-by: samzong <samzong.lu@gmail.com>
@samzong samzong merged commit 6514729 into main May 15, 2026
1 check passed
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.

1 participant