use_branch

Function use_branch 

Source
pub fn use_branch(repo_path: &str, branch_name: &str) -> Result<String, Error>
Expand description

Switch to a git branch, remove all other branch, and remove the remote repository.