pub fn push(repo: &Repository, remote_name: &str, branch: &str) -> Result<()>Expand description
Push a local branch to a remote.
This will fail without authentication for non-local remotes — that is expected. Callers should configure credential helpers or push callbacks.