Cannot change the default base branch `main` (GraphQL: Cannot change the base branch because the pull request is part of a stack. (updatePullRequest))
- Lingua principale
- Go
- Stelle
- 1.5k
- Fork
- 70
- Merge medio
- 1g 8h
- PR unite (30g)
- 7
Descrizione
This feature could be better for code management if it can be used for projects with multiple environments since I cannot change the default base branch `main` to other branches (like staging, or to break a branch into many features and merge into it for better testing)
I have tried the following
```
# In your local repo
gh pr edit --base
```
And I got
```
GraphQL: Cannot change the base branch because the pull request is part of a stack. (updatePullRequest)
```
I would love an update or explanation for this
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing the issue with `gh pr edit --base ` and inspect the reported `updatePullRequest` GraphQL error. Determine whether stacked pull requests can support changing the base branch, then document the limitation or define the behavior needed for staging and multi-feature workflows.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github, go
- Ambito
- api, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100