diff --git a/src/git_flow/command/merge.py b/src/git_flow/command/merge.py index 23c8121..aeeff18 100644 --- a/src/git_flow/command/merge.py +++ b/src/git_flow/command/merge.py @@ -80,7 +80,8 @@ class MergeCommand(Command): def create_pull_request(self, token: str, branch: str, target: str): changelog = Changelog() - title = branch.replace("/", ": ").replace("-", " ") + title = self.prompt("[Opcional] Ingrese un titulo para el PR") + title = title or branch.replace("/", ": ").replace("-", " ") if title.startswith("release: "): title = title[title.index(' ', title.index(' ') + 1) + 1:]