Skip to main content

current_branch

Function current_branch 

Source
pub fn current_branch(repo_root: &Path) -> Result<String, PawError>
Expand description

Returns the short name of the current branch (e.g., “main”, “feat/add-auth”).