create_branch

Function create_branch 

Source
pub fn create_branch(repo_path: &RepoPath, name: &str) -> Result<String>
Expand description

creates a new branch pointing to current HEAD commit and updating HEAD to new branch