agentws: refuse rm on an ambiguous branch name #22
Reference in New Issue
Block a user
Delete Branch "benvin/agentws-rm-ambiguous"
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?
agentws rm <branch>took the first managed worktree whose branch matched, across all repos. Two repos on the same branch name meant it could remove the wrong repo's worktree.rm --repo <name>to narrow a branch match to one repo--repoin the READMENo findings.