Skip to main content

push_upstream_allow_create

Function push_upstream_allow_create 

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

Push HEAD to origin and create upstream tracking.

Intended for new branches that do not have an upstream configured yet.