github / github/gh-stack

gh stack sync --prune for a completed stack deletes the branch but leaves stack in gh stack checkout metadata

Aperta
#137 1 commento 4 reazioni 0 assegnatari Vedi su GitHub
bug topic: cli - sync
Lingua principale
Go
Stelle
1.5k
Fork
70
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

gh stack sync --prune for a completed stack deletes the branch but leaves stack in gh stack checkout metadata.

Repro steps:
1. Create a stack with 1 branch.
2. Submit PR
3. Complete PR
4. Run gh stack sync --prune
5. Branch is synced and deleted
6. Run `gh stack checkout`
7. Observe

Expected: Stack should be deleted
Actual: Stack is not deleted, and cannot be selected because the branch no longer exists.
Workaround: Create a branch with the same name as one that doesn't exist. Run `gh stack untrack`, delete branch.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.