Skip to main content

remove_worktrees_for_branch

Function remove_worktrees_for_branch 

Source
pub fn remove_worktrees_for_branch(branch_name: &str) -> Result<()>
Expand description

Remove all worktrees associated with a branch. This is idempotent and won’t fail if no worktrees exist.