Function branch_remote

Source
pub fn branch_remote(repo: &Repository, branch: &str) -> Result<String>
Expand description

Get the name of the remote of the given branch, if any.