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.

Allow a repository to be configured to disallow checkins directly to master #106

Open

Description

@Jun-Dai

For repositories that follow a flow wherein master is the always-ready-to-ship branch, it would be very nice if the github repo only allowed code changes on master via pull requests from other branches.

Activity

  1. jantman commented on Jan 18, 2015

    @jantman

    +1

  2. tgamblin commented on Mar 27, 2016

    @tgamblin

    BitBucket handles this well with branch permissions -- something definitely missing on GitHub.

  3. NobbZ commented on Mar 27, 2016

    @NobbZ

    Aren't protected branches covering your issue? Don't use them so far but
    read about them a month ago or two...

    Todd Gamblin [email protected] schrieb am So., 27. März 2016 20:44:

    BitBucket handles this well with branch permissions -- something
    definitely missing on GitHub.

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly or view it on GitHub
    #106 (comment)

  4. tgamblin commented on Mar 28, 2016

    @tgamblin

    Protected branches only prevent people from merging if status checks have failed. They don't determine who gets to merge. i.e., I can't give collaborators permission to push only feature branches to the project, and disallow them from merging to develop and master -- they can either write everything or write nothing.

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