Skip to content

Feature Request - Add Setting for Protected Branches in Git #62665

Closed

Description

It would be nice to have a setting in vscode to add an array of protected branches.
For example if master, staging are protected branches in github. It would be beneficial to add the those branch names to an array in vscode and have vscode add an icon or change the color of the branch to signal to a dev on local that the branch is protected.

This simply adds another visual tool that could help avoid catastrophic or time consuming events such as accidentally committing to master.

One could take this a step further and render an alert or notification saying.

Warning you are committing to a branch that has been listed as protected. Are you sure you would like to proceed with this push?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

*extension-candidateIssue identified as good extension implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions