Skip to main content

push

Function push 

Source
pub fn push(repo: &Path, remote: &str, ref_name: &str) -> Result<(), SyncError>
Expand description

Pushes a lore ref to a remote using an explicit refspec.

Runs git push <remote> <ref_name>:<ref_name>. The explicit refspec means refs/lore/* syncs without the user configuring anything.