List worktrees and reopenable branches in the Create worktree step #52
No reviewers
Labels
No labels
bug
docs
enhancement
good first issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pedromcaraujo/forge!52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "palette-reopen-branches"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
<branch>· 2 hours ago") — pick one to recreate a worktree on it.GET /worktrees/branches?channel=in the tmux sidecar (git for-each-ref, skips branches checked out anywhere and names that can't be a session name, e.g. containing/; capped at 30).Closing a worktree session always keeps its branch, so this turns an accidental close (easy on mobile, where × is always visible and a clean close doesn't confirm) into a one-tap undo.
Test plan
node --check) and Python (py_compile) syntax checksfor-each-refformat verified against a real repo