Skip to main content

set_branch_upstream_ref

Function set_branch_upstream_ref 

Source
pub fn set_branch_upstream_ref(
    repo: &Repository,
    branch_name: &str,
    upstream: &str,
) -> Result<(), GitError>
Expand description

Set upstream tracking for a specific local branch.