pub fn rewrite_history( commits: &[CommitMetadata], new_messages: &[String], dir: &str, ) -> Result<()>
Rewrite git history with new commit messages