Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Change the target branch of a pull request #18

Closed

Description

@tjfontaine

It can be necessary to pick a different target branch for a pull request if you accidentally select the wrong one, or perhaps you're asked to rebase the branch against a development branch vs a stable branch.

Activity

  1. thedrow commented on Jun 5, 2013

    @thedrow

    Oh this is much needed 👍

  2. jzaefferer commented on Jun 11, 2013

    @jzaefferer

    What's wrong with closing and opening a new pull request? You can still reference the previous one if the discussion is of any value.

  3. thedrow commented on Jun 11, 2013

    @thedrow

    @jzaefferer There's nothing wrong with it. It's simply inconvenient.

  4. tjfontaine commented on Jun 11, 2013

    @tjfontaine
    CollaboratorAuthor

    It's also very tedious, and having to open a second because the goal post has changed for a milestone seems inconvenient, especially since I can rebase the target multiple times but in the end all utility of the comparison is lost because it's not pointing to anything sane

  5. piedar commented on Jun 21, 2013

    @piedar

    I too would appreciate this feature.

    It would also be handy if you could set the pull request target to a new branch. github could create a "pending branch" on upstream's repo. When the pull is merged, it creates - and immediately pushes to - the upstream branch.

  6. servant-42 commented on Jul 1, 2013

    @servant-42
  7. amirnissim commented on Aug 6, 2013

    @amirnissim
  8. bc-ben-buchanan commented on Aug 13, 2013

    @bc-ben-buchanan
  9. delliott90 commented on Aug 19, 2013

    @delliott90
  10. anton-rudeshko commented on Aug 27, 2013

    @anton-rudeshko
  11. kuanxu commented on Aug 29, 2013

    @kuanxu
  12. reinert commented on Aug 30, 2013

    @reinert
  13. odedniv commented on Aug 31, 2013

    @odedniv
  14. sjaeckel commented on Sep 3, 2013

    @sjaeckel
  15. jaen commented on Sep 3, 2013

    @jaen

    Also in favour.
    Just did a pull request to wrong branch and ended up with the longest diff.

  16. 1493 remaining items

  17. TPS commented on Aug 9, 2016

    @TPS
    Collaborator
  18. claydonkey commented on Aug 9, 2016

    @claydonkey

    Wow I thought I had time to waste...
    So I put a thumbs up on the initial post but I spose the self posted +1s are working if people are getting irritated.

  19. btamayo commented on Aug 15, 2016

    @btamayo
  20. domino14 commented on Aug 15, 2016

    @domino14

    Finally! May this be the last comment on this thread.

  21. TPS commented on Aug 16, 2016

    @TPS
    Collaborator

    @tjfontaine (OP) @cirosantilli @ALL I hope that https://github.com/blog/2224-change-the-base-branch-of-a-pull-request (from #18 (comment)) means that this can be closed FTW. Else, could someone post what's missing?

    (Sorry, @domino14. 😉)

  22. beldaGR commented on Aug 24, 2016

    @beldaGR

    I experienced this problem: #750
    Changed base branch but Github's visual diff did not change. After merging, previously reverted commits show up.

  23. XedinUnknown commented on Dec 1, 2016

    @XedinUnknown

    How about giving admins the ability to change the target of a PR that someone else created?

  24. JimLiu commented on Jan 12, 2017

    @JimLiu

    Is this the most commented issue on Github?

  25. biolau commented on Feb 16, 2017

    @biolau

    Competitors have it just add it please!!!
    +1

  26. rhutchison commented on Feb 16, 2017

    @rhutchison

    @biolau it's implemented

    @cirosantilli added the implemented label on Aug 16, 2016

  27. tjohnell-handy commented on Feb 16, 2017

    @tjohnell-handy

    I motion for the original comment to be edited with the update of implementation so this "thread" can be forever buried. Sorry to the hundreds of people who just got this email.

  28. domino14 commented on Feb 16, 2017

    @domino14
  29. Repository owner locked and limited conversation to collaborators on Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions