Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>git-branch-warnNew to Visual Studio Code? Get it now.
git-branch-warn

git-branch-warn

crper

|
77 installs
| (0) | Free
Prompt that the current working branch of git is a sensitive branch
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

git-branch-warn README

Features

  • Used to prompt that the current branch is a sensitive branch
  • Support setting state bar project name
  • Support setting floating prompt word message
  • Support for setting up monitoring branches
  • Support dynamic detection of single project or multiple projects in the workspace

demo

sensitiveText

alt text

Sensitive Tooltip

alt text

sensitiveBranches

Array of sensitive branches , such as ["test"]

Quick Identify

Quickly identify the branches of different projects in the workspace, without displaying them for non-Git projects alt text

plugin setting

alt text

Requirements

"vscode": "^1.80.0"

Extension Settings

default setting

"gitBranchWarning.sensitiveText": "",
"gitBranchWarning.sensitiveTooltip": "",
"gitBranchWarning.sensitiveBranches": [
    "main","master"
],

Known Issues

Release Notes

Users appreciate release notes as you update your extension.

1.0.0

Initial release


Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft