Skip to main content

detect_local_default_branch

Function detect_local_default_branch 

Source
pub fn detect_local_default_branch(repo: &Path) -> Result<String>
Expand description

Detect the current branch of a local (non-bare) repository.