pub fn ensure_branch(repo: &Repository, name: &str) -> Result<()>Expand description
Ensure branch exists, creating from HEAD if needed; switch to it
pub fn ensure_branch(repo: &Repository, name: &str) -> Result<()>Ensure branch exists, creating from HEAD if needed; switch to it