Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Git Branch Policy CheckerNew to Visual Studio Code? Get it now.
Git Branch Policy Checker

Git Branch Policy Checker

VaultOps

|
2 installs
| (0) | Free
Validates branch naming against team conventions with local regex checks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Branch Policy Checker

Validates branch naming against team conventions with local regex checks.

Archetype: git.hygiene (git-hygiene)

Usage

Use the Command Palette (Ctrl/Cmd+Shift+P) and run the commands listed below.

Command surface

  • git-branch-policy-checker.checkBranchName - Check branch naming: Validate branch names against local team conventions.
  • git-branch-policy-checker.draftCommitMessage - Draft commit message: Build a conventional commit draft and copy it to clipboard.

Operational intent

Use this archetype when reviewers repeatedly request branch rename or commit message cleanup before merge.

What you get

  1. Validate branch names against a predictable regex.
  2. Draft commit message templates for consistent history.
  3. Keep all checks local to the editor.

Local development

npm install
npm run build
npm test

Use F5 in VS Code to launch an Extension Development Host.

Packaging

npm run package

Module notes

  • UI settings are exposed in workspace settings under this extension namespace.
  • Local run metadata uses ExtensionContext.globalState only.
  • Analytics is local-only and disabled unless FOF_ANALYTICS_OPT_IN=true.

Marketplace submission notes

  • Set a real publisher in package.json.
  • Replace placeholder assets in assets/ (icon + screenshots).
  • Upload .vsix or release source archive from dist-submission/.

Support

For support, contact support@example.com.

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