Skip to content

gh stack link does not respect the default branch of a repository #260

Description

@tylerjohnst

When linking an existing stack with gh link 1 2 3 and --base is not given, it defaults to main not the default repository branch. As a result, the first PR of the stack is retargeted to main and currently there is no easy way to change the base of the stack.

Metadata

Metadata

Assignees

Labels

bugBug Reportstopic: cli - link`gh stack link`: create local tracking state, and PR-title defaults when linking.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions