Skip to content

Git: Support to configure branches which should be protected from direct commits #148783

Closed

Description

Given we now want to avoid committing to main directly, we could have a workspace setting which would have the Git extension warn when the user is about to commit directly on the main branch.

Generalizing it, we could have a list of branches which would cause that alert. That alert could guide the user to create a new branch, possibly leveraging #148781

Activity

  1. lszomoru commented on May 20, 2022

    @lszomoru
    Member

    Branch protection has been implemented.

  2. locked and limited conversation to collaborators on Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitygitGIT issueson-release-notesIssue/pull request mentioned in release noteson-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions