You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Git: Support to configure branches which should be protected from direct commits #148783
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
lszomoru commentedon May 20, 2022
Branch protection has been implemented.