Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
branch-msg
Advanced tools
A npm module cli to append branch info. on message of your every git commit.
branch-msg
All we know that Git is designed to "forget" the original branch that a commit comes from.
This information is important (or useful) in some scenarios. For example, to matching a commit with your issue tracking system. Or, make it easier to dig into the history to reason about a certain bug.
For actually capture such information, in some project, we are forced to leave the "issue id" or the "branch name" explicitly. That's tedious.
branch-msg
Simple goto the root of your git repo, where .git/
sits.
run:
# if it's the first time
npm install -g branch-msg
# init the git repo's commit-msg hook
branch-msg-init
And from now on, your commit message will have the following appended.
branch at : #[ YOUR_BRANCH_NAME ]#
Though it's easy enough, there is some posible plan depending how it's used.
This solution MIGHT not work in PC, as it's not fully tested.
The following env is used in for some projects :
However, Enjoy. ;)
FAQs
A npm module cli to append branch info. on message of your every git commit.
The npm package branch-msg receives a total of 1 weekly downloads. As such, branch-msg popularity was classified as not popular.
We found that branch-msg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.