srmeyers / git-prefix

Visual Studio Code Extension - Prefix commit message with value in branch name.
https://marketplace.visualstudio.com/items?itemName=srmeyers.git-prefix
MIT License
22 stars 14 forks source link

Doesn't work with several opened repositories #14

Open Yanpas opened 3 years ago

Yanpas commented 3 years ago

I have two opened repositories, one of them has branch that doesn't match regex

j0be commented 1 year ago

Then write your regex better?

eg: let's say you need to match "TCM-123" or "ITM-456". Then your regex setting would be something like "*?((TCM|ITM)-\\d+):"