Skip to main content

remove_worktree

Function remove_worktree 

Source
pub fn remove_worktree(
    repo_root: &Path,
    worktree_path: &Path,
) -> Result<(), PawError>
Expand description

Removes a git worktree at the given path.

Runs git worktree remove --force and then prunes stale worktree entries.