Skip to main content

push

Function push 

Source
pub fn push(bare: &Path, remote: &str) -> Result<(), String>
Expand description

Pushes every branch and tag of one bare repository to one remote. No force, no prune, no fetch.

§Errors

Returns git’s stderr when the push was refused or could not run.