Skip to main content

push_head_to_branch

Function push_head_to_branch 

Source
pub fn push_head_to_branch(
    repo_root: &Path,
    remote: &str,
    branch: &str,
) -> Result<(), GitError>
Expand description

Push HEAD to a specific branch on a remote.

This pushes HEAD to the specified branch on the remote, creating the branch if needed. Used in direct-push parallel mode to push directly to the base branch.