Skip to main content

delete_branch

Function delete_branch 

Source
pub fn delete_branch(branch: &str) -> Result<()>
Expand description

Force-delete a branch. Callers are expected to have verified the branch landed through review state: after a squash merge its commits are not ancestry-merged, so git branch -d can refuse even though the work is in.