Skip to main content

merge_no_ff

Function merge_no_ff 

Source
pub async fn merge_no_ff(
    repo: &Path,
    branch: &str,
    message: &str,
) -> Result<GitOut>
Expand description

git merge --no-ff of branch into the currently checked-out branch.

One of three ways to land a branch driven by crate::config::MergeStyle — see merge_squash and merge_ff_only for the other two, and that enum’s own doc for why the choice between them lives in configuration.