pub fn push_coordination_branch(
repo_root: &Path,
local_ref: &str,
branch: &str,
) -> Result<(), CoordinationGitError>Expand description
Pushes the given local ref to the coordination branch on origin.
Returns Ok(()) on success, Err(CoordinationGitError) classified by failure reason otherwise.
ยงExamples
use std::path::Path;
use ito_core::git::push_coordination_branch;
let repo = Path::new(".");
let _ = push_coordination_branch(repo, "HEAD", "coordination");