Skip to content

doc: explain why we don't use the GitHub merge button #8893

Description

@Trott

I get asked why we can't use the GitHub merge button at onboardings from time to time and I never know what issues with it are real and what I merely imagine.

onboarding.md currently says:

  • Please never use GitHub's green "Merge Pull Request" button.
    • If you do, please force-push removing the merge.

And that's it. One or two sentences explaining the deal-breaker incompatibilities with our workflow would be great. @cjihrig? Someone else?

Activity

  1. added
    docIssues and PRs related to Node.js documentation.
    on Oct 2, 2016
  2. MylesBorins commented on Oct 2, 2016

    @MylesBorins
    Contributor

    the latest rebase feature changes the author

    the old rebase and merge feature adds meta data to the commit title

    the original merge method adds a merge commit

    On Sun, Oct 2, 2016, 1:53 AM Rich Trott notifications@github.com wrote:

    I get asked this at onboardings from time to time and I never know what
    issues with it are real and what's just in my mind.

    onboarding.md currently says:

    • Please never use GitHub's green "Merge Pull Request" button.
      • If you do, please force-push removing the merge.

    And that's it. One or two sentences explaining the deal-breaker
    incompatibilities with our workflow would be great. @cjihrig
    https://github.com/cjihrig? Someone else?

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub
    #8893, or mute the thread
    https://github.com/notifications/unsubscribe-auth/AAecVzDskV5JaHh9uSbBEZ2RUDqgIIDyks5qv0a7gaJpZM4KL8Sz
    .

  3. not-an-aardvark commented on Oct 2, 2016

    @not-an-aardvark
    Contributor

    the old rebase and merge feature adds meta data to the commit title

    Squash/merge does that by default, but isn't it possible to modify the commit message while merging?

  4. MylesBorins commented on Oct 3, 2016

    @MylesBorins
    Contributor

    @not-an-aardvark I've personally experienced it adding the meta data without an obvious way to avoid it. At the very least it is error prone enough that I do not believe the pain is worth the benefit

  5. evanlucas commented on Oct 3, 2016

    @evanlucas
    Contributor

    the latest rebase feature changes the author

    yep, I dealt with that last week while cutting v6.7.0.

    I would say that @thealphanerd's comment (#8893 (comment)) describes it pretty well.

  6. Fishrock123 commented on Oct 3, 2016

    @Fishrock123
    Contributor

    Yeah, what @thealphanerd said.

  7. Fishrock123 commented on Oct 3, 2016

    @Fishrock123
    Contributor

    (All of which make viewing commits / tooling / attribution / etc more difficult.)

  8. fhinkel commented on Oct 3, 2016

    @fhinkel
    Contributor

    Have we documented anywhere why we add Reviewed-By? I'm not sure what it's good for.

  9. bnoordhuis commented on Oct 3, 2016

    @bnoordhuis
    Member

    It's like git blame for reviewers.

  10. addaleax commented on Oct 4, 2016

    @addaleax
    Member

    Have we documented anywhere why we add Reviewed-By? I'm not sure what it's good for.

    It also gives a list of people to @mention / contact when something goes wrong, and doesn’t require the assumption that Github lasts forever for that ;)

  11. added
    good first issueIssues that are suitable for first-time contributors.
    on Oct 7, 2016
  12. sonalbhadani496 commented on Oct 9, 2016

    @sonalbhadani496

    We generally don't use Github merge button when we don't want the changes in our branch to be merged with the upstream branch ; for this we can also close the pull request without merging.

  13. jalafel commented on Oct 12, 2016

    @jalafel
    Contributor

    Hello everybody, I took a shot at this and have opened up a pull request. Hopefully some of you can review it and see if it closes this issue.

    Thank you :)

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

    docIssues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions