Repository navigation
Take the branch name from git worktree list when cleaning up - #50
Merged
Merged
Conversation
ExitWorktree can report the name a branch had before it was renamed, which starting work tells sessions to do. List the worktree first in step 4 and use the name git gives. Closes #48 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What to look at
cleaning-up-merged-work.mdstep 4 now says to take the branch's name fromgit worktree list, not fromExitWorktree's message. That message can give the nameEnterWorktreegenerated, from before the rename that starting work asks for.git worktree listis now the first command in step 4's block, since every command after it uses the branch name.Decisions made
For the owner to confirm
Nothing.
Changed test expectations
Nothing.
Verification
mainbefore pushing. It found that the block used<branch>beforegit worktree listgave it; fixed by moving that line first.ExitWorktreenamedworktree-worktree-procedureandgit worktree listshoweddocs/worktrees. This branch was renamed the same way, so its own cleanup will show it again.Closes #48
🤖 Generated with Claude Code