Skip to main content

fetch

Function fetch 

Source
pub fn fetch(
    store: &Store<'_>,
    git: &GitCli<'_>,
    remote: &RemoteConfig,
    progress: &mut dyn FnMut(&str),
) -> Result<Option<CommitId>, CoreError>
Expand description

git fetch of main into refs/remotes/<name>/main and of every tag. None when the remote has no main yet (a new, empty repository).