Skip to main content

delete_worktree

Function delete_worktree 

Source
pub fn delete_worktree(
    repo_path: &PathBuf,
    wt_path: &PathBuf,
    branch: &str,
    session_names: &[String],
) -> Result<()>
Expand description

Remove a git worktree and kill any associated tmux sessions.