Skip to main content

pull_all

Function pull_all 

Source
pub fn pull_all(
    cwd: &Path,
    tx: &dyn Transport,
    remote: &str,
) -> Result<usize, DispatchError>
Expand description

Fetch remote refs, then fast-forward the current local branch from refs/remotes/default/<branch>. Fresh repos with no local branch tip initialise from the current branch’s remote-tracking ref, or the first advertised remote branch when the current default branch is absent.