Skip to main content

worktree_add_existing

Function worktree_add_existing 

Source
pub fn worktree_add_existing(
    dir: &Path,
    path: &Path,
    branch: &str,
) -> Result<()>
Expand description

Check out an existing branch into a new worktree.