Skip to main content

detect_base_branch

Function detect_base_branch 

Source
pub fn detect_base_branch(repo_path: &Path) -> Result<String>
Expand description

Detect whether the base branch is ‘main’ or ‘master’