code: def amend_commit_message(self, cherry_pick_branch):
          
  
          commit_prefix = ""
          if self.prefix_commit:
              commit_prefix = f"[{get_base_branch(cherry_pick_branch)}] "
          updated_commit_message = f"""{commit_prefix}{self.get_commit_message(self.commit_sha1)}
  (cherry picked from commit {self.commit_sha1})
  
  
  Co-authored-by: {get_author_info_from_short_sha(self.commit_sha1)}"""
          if self.dry_run:
              click.echo(f"  dry-run: git commit --amend -m '{updated_commit_message}'")
          else:
              cmd = ["git", "commit", "--amend", "-m", updated_commit_message]
              try:
                  subprocess.check_output(cmd, stderr=subprocess.STDOUT)
              except subprocess.CalledProcessError as cpe:
                  click.echo("Failed to amend the commit message \u2639")
                  click.echo(cpe.output)
          return updated_commit_message
docs: prefix the commit message with (X.Y)