Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.29 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.29 KB

Branch Color

Change your Visual Studio Color based on your git branch. Just need to install the hook and make git checkout main and thats it your VSCode will change the color.

Color Reference

Brach Color Example
Main #2f7c47 #2f7c47 main
Staging #fbed80 #fbed80 staging
Developer #ab307e #ab307e development
Releases #ff6433 #ff6433 releases/main-v2023.06.09
Features #1f6fd0 #1f6fd0 features/development-change-something
Hotfix #93e6fc #93e6fc horfixes/main-fix-typo
Error #fa1b49 #fa1b49 Any other formats

NOTE: Add ./vscode/settings.json into your .gitignore file to prevent errors.

Installation

Just run the next command into your project with git installed.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/PixelFlowMX/branch-color/master/install.sh)"