Git: Support to configure branches which should be protected from direct commits #148783
Labels
feature-request
Request for new features or functionality
git
GIT issues
on-release-notes
Issue/pull request mentioned in release notes
on-testplan
Milestone
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 themain
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
The text was updated successfully, but these errors were encountered: