Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions dev/breeze/src/airflow_breeze/commands/ci_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,10 +749,5 @@ def upgrade(target_branch: str, create_pr: bool | None, switch_to_base: bool | N
# Delete local branch
run_command(["git", "branch", "-D", branch_name])
get_console().print(f"[success]Local branch {branch_name} deleted.[/]")

# Delete remote branch from origin
get_console().print(f"[info]Deleting branch {branch_name} from {push_remote}...[/]")
run_command(["git", "push", push_remote, "--delete", branch_name], check=False)
get_console().print(f"[success]Remote branch {branch_name} deleted from {push_remote}.[/]")
else:
get_console().print("[info]PR creation skipped. Changes are committed locally.[/]")
Loading