Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cannot change the default base branch `main` (GraphQL: Cannot change the base branch because the pull request is part of a stack. (updatePullRequest))

Aperta
#455 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, go
Ambito
api, cli

Direzione di ricerca

Inizia riproducendo il problema con gh pr edit --base <your-parent-branch> e analizza l’errore GraphQL updatePullRequest segnalato. Determina se le pull request impilate possono supportare la modifica del branch di base, quindi documenta la limitazione oppure definisci il comportamento necessario per i workflow di staging e multi-feature.

Scritto dal modello di indicizzazione a partire dal testo della issue.

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 <your-parent-branch>

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

Lingua principale
Go
Stelle
1.5k
Fork
73
Merge medio
1g 8h
PR unite (30g)
7

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/gh-stack

Tutte le issue di github/gh-stack

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.