Skip to content

Create PR to diffrent branch than main #652

Closed

Description

@mitchellston

Currently when I use the "Create PR" button it always creates the pr to my main branch, but we have a staging branch where the changes need to go first. I have not found a setting to change this, it would be nice if there is a setting for this maybe even a per project setting.

Activity

  1. loriopatrick commented on Mar 9, 2026

    @loriopatrick

    IMO, the way to handle this is to track which branch the worktree was spawned from and target that branch. This would be quite helpful.

  2. j-flaherty commented on Jun 23, 2026

    @j-flaherty

    Bumping this. Another idea is prompting a base branch when create pr is selected and storing that as a default.

  3. locked and limited conversation to collaborators on Aug 15, 2026
  4. converted this issue into a discussion #7050 on Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions