Skip to content

feat: add worktree rename (display name) - #90

Merged
nwparker merged 1 commit into
mainfrom
nwparker/rename-worktree
Mar 25, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/rename-worktree

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Display Name field to the worktree edit dialog, with a note that it only changes the sidebar label (not the folder on disk)
  • Adds a Rename option (pencil icon) to the worktree right-click context menu, which opens the dialog focused on the display name field
  • Clearing the display name reverts to the default branch/folder name

Test plan

  • Right-click a worktree → click "Rename" → verify dialog opens with display name field focused
  • Set a custom display name → save → verify sidebar shows the new name
  • Clear the display name → save → verify it reverts to branch/folder name
  • Double-click a worktree → verify display name field is present and pre-populated
  • Verify existing "Link GH Issue/PR" and "Add Comment" context menu actions still work

🤖 Generated with Claude Code

Add a "Display Name" field to the worktree meta dialog and a "Rename"
option in the context menu. This changes only the sidebar label — the
folder on disk is unaffected. Clearing the field reverts to the default
branch/folder name.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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