Skip to main content

worktree_add_branch

Function worktree_add_branch 

Source
pub async fn worktree_add_branch(
    repo: &Path,
    path: &Path,
    branch: &str,
    base: &str,
) -> Result<()>
Expand description

Create a worktree at path with a fresh branch branch starting at base.