pub fn push_all(cwd: &Path, tx: &dyn Transport) -> Result<usize, DispatchError>Expand description
Push every ref under refs/heads/ to the remote. Returns the count of
refs pushed. Each branch is published with push_branch, which sends
one delta-compressed pack of the objects the remote lacks, advertises it
via the refs/mkit/packmap/<branch> ref, then moves the branch ref.