Skip to main content

get_branch_upstream_remote

Function get_branch_upstream_remote 

Source
pub fn get_branch_upstream_remote(
    repo_path: &Path,
    branch_name: &str,
) -> Option<String>
Expand description

Returns the upstream tracking remote name for a branch, if configured.