Skip to main content

remove_worktree

Function remove_worktree 

Source
pub fn remove_worktree(
    repo_path: &Path,
    worktree_path: &Path,
    branch: &str,
) -> Result<()>
Expand description

git worktree remove --force {path} then git branch -d {branch}