Function reword_root_commit

Source
pub fn reword_root_commit<'a>(
    repo: &'a Repository,
    old: &str,
    new: &str,
    message: &str,
) -> GitResult<Branch<'a>>
Expand description

Reword the root commit of the old branch and create a new branch

ยงArguments

  • repo: The git repository
  • message: The initial commit message
  • old: The old branch name
  • new: The new branch name