Skip to content

Ability to set/unset "Always suggest updating pull request branches" in repo edit #6708

Description

@browniebroke

Describe the feature or problem you’d like to solve

I'd like to suggest adding an option to the repo edit command to enable the "allow update branch" checkbox.

Proposed solution

In line with the other options on this command, add a new flag --allow-update-branch. Should all options be editable in the interactive mode? I don't know whether this checkbox is always present or if it's feature dependant.

Additional context

As seen in the GitHub UI:

image

Activity

  1. changed the title [-]Add `--allow-update-branch` option to the `repo edit` command[/-] [+]Ability to set/unset "Always suggest updating pull request branches" in repo edit[/+] on Dec 9, 2022
  2. mislav commented on Dec 20, 2022

    @mislav
  3. mislav commented on Dec 20, 2022

    @mislav
    Contributor

    Sorry; commented on the wrong issue.

    I'm all for adding a toggle for this functionality to gh repo edit. It looks like it translates to the allow_update_branch field of the REST API.

    type EditRepositoryInput struct {

  4. reopened this on Dec 20, 2022
  5. added and removed on Dec 20, 2022
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

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions