← Back to the catalog

stacked-pr-base-branch-deletion-auto-closes-dependent

Recover from the trap where deleting a base PR's branch (via `gh api -X DELETE refs/heads/<branch>`) auto-closes any open dependent stacked PR, and the closed PR cannot be reopened or retargeted. Use when: (1) you set up a stacked PR pair (PR2's `base` field = PR1's branch instead of `main`), (2) you merged PR1 via squash, (3) you then deleted PR1's remote branch via the API (because `gh pr merge

0stars
Updated last month

View on GitHub ↗License: MIT

How to add

/plugin marketplace add wan-huiyan/agent-traffic-control-archive

The exact command may vary by repository. Check the README on GitHub.

For the skill author

Drop this on your repo README

Shows your skill is listed on Skillteca, generates a backlink and trackable traffic.

Listada na Skillteca
[![Listada na Skillteca](https://www.skillteca.com.br/api/badge/stacked-pr-base-branch-deletion-auto-closes-dependent/svg)](https://www.skillteca.com.br/skills/stacked-pr-base-branch-deletion-auto-closes-dependent?utm_source=badge&utm_medium=readme&utm_campaign=badge)

Category alert

Get new Marketing skills every Monday

One short email with only the new Marketing skills. 4 minutes of reading, no spam, unsubscribe with one click.

You confirm your email on the first send. No spam. Unsubscribe with one click.

ShareXLinkedIn

Comments · No comments

Sign in to comment. Sign in

  • No comments yet. Be the first.