You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
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.2
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

gh-msg

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

NPM

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

git

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