Skip to main content

force_push_branch

Function force_push_branch 

Source
pub async fn force_push_branch(repo_dir: &Path, branch: &str) -> Result<()>
Expand description

Force-push a branch to origin using --force-with-lease for safety.

Used after rebasing a pipeline branch onto the updated base branch.