pub fn current_branch(repo: &Repository) -> Option<String>Expand description
Get the current branch name (e.g., “main”, “shipd/3-fix-bug”).
pub fn current_branch(repo: &Repository) -> Option<String>Get the current branch name (e.g., “main”, “shipd/3-fix-bug”).