Skip to main content

rebase_onto

Function rebase_onto 

Source
pub fn rebase_onto(
    parent: &str,
    base: &str,
    branch: &str,
    update_refs: bool,
) -> Result<()>
Expand description

Rebase only the commits after base, replaying base..branch onto parent. Used when the recorded fork point is known so commits that landed upstream by squash or rebase are not replayed.