From c87b14121c82bd67380b390a17f185b7fa84ea09 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Sun, 14 Dec 2025 22:53:26 -0300 Subject: [PATCH 1/2] feature: agrego opcion para personalizar nombre de PR --- src/git_flow/command/merge.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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:] From df8998a0929b2cb792bdde53716e4ed563d178be Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Sun, 14 Dec 2025 23:01:49 -0300 Subject: [PATCH 2/2] feature: agrego opcion para cambiar a rama objetivo y obtener cambios --- src/git_flow/command/merge.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/git_flow/command/merge.py b/src/git_flow/command/merge.py index aeeff18..683d732 100644 --- a/src/git_flow/command/merge.py +++ b/src/git_flow/command/merge.py @@ -94,3 +94,7 @@ class MergeCommand(Command): ) self.success(message) + + if self.confirm("¿Desea cambiar a la rama objetivo y bajar los cambios?"): + Git("switch", target).exec(print="Cambiando a rama objetivo") + Git("pull").exec(print="Obteniendo cambios")