prune_worktrees

Function prune_worktrees 

Source
pub fn prune_worktrees(git_dir: &Path) -> Result<()>
Expand description

Prune worktree administrative files

Removes worktree references from .git/worktrees that are no longer valid