Skip to main content

create

Function create 

Source
pub fn create(
    store: &SkillStore,
    project_id: &str,
    source_path: &str,
    branch: &str,
    destination: &str,
) -> Result<ProjectWorktree>
Expand description

Create a new branch and checkout from an authorized worktree’s current HEAD. Existing destinations and branches are never overwritten.