github / github/gh-stack

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

Abierto
#455 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
1.5k
Forks
70
Merge medio
1 d 8 h
PR fusionados (30 d)
7

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github, go
Área
api, cli
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.