New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gh-msg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-msg

Git commit message hook for GitHub issues

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

gh-msg

A git commit-msg hook that integrates with Github issues.

Installation

npm install -g gh-msg

Usage

Enter the directory with the git repo you wish to add the hook to, and then run:

gh-msg user/repo

Replacing user/repo with the appropriate user/organization and repo name. From there, make your changes.

When committing, put either GH-1234 or #1234 (replacing the number with the issue's number) on the first line. Make sure that's the only thing on the first line. Then, gh-msg will use the Github API to request the issue's title, and replace your commit message with something like this:

Fixes GH-1234 - "Your issue's title here"

Anything on subsequent lines will be added to the commit as well.

Keywords

FAQs

Package last updated on 19 Jun 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc