Is there away to make VS Code automatically prepend branch name in commit message textarea?
Like if I'm on branch 'ID-7345' and just updated e.g. React.js version, I need to write:
ID-7345: updated React.js to version 16.0
and I would like to omit writing branch name each time there, so wherever I access this page I will see ID-7345:
pre-populated and cursor blinking after it.
There is now a VS Code extension that does the job: https://marketplace.visualstudio.com/items?itemName=srmeyers.git-prefix. By default, a click on the extension button will put into your commit message this label: "[YourBranchName]". Into the extension settings, there are 3 parameters if you want to fine tune the label (copy/paste from the extension page):
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With