Skip to main content

push_current_branch

Function push_current_branch 

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

Push the current branch to a remote.

This pushes HEAD to the current branch on the specified remote.