Skip to main content

destroy_worktree

Function destroy_worktree 

Source
pub fn destroy_worktree(repo: &Path, worktree_path: &Path) -> Result<()>
Expand description

Remove a worktree previously created with create_worktree.

ยงErrors

This function always succeeds; the underlying git command failure is intentionally ignored.