Skip to main content

push

Function push 

Source
pub fn push(
    repo: &Path,
    store: &Path,
    remote: &str,
    unit: &str,
    commit: &str,
) -> Result<(), String>
Expand description

Pushes commit (built in store) to remote’s refs/speccoder/held-out/<unit> from repo, reading the store’s objects as alternates: nothing is written to repo, no local ref either.

§Errors

The push failed (not a fast-forward, no access).