Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.16 KB

README.md

File metadata and controls

56 lines (31 loc) · 1.16 KB

cya-git

Check your git commit messages for valid Jira issue keys.
version: 1.0.0

Installation

  1. Clone this repo.
  2. cd cya-git & npm link
  3. Create ~/.jira-queryrc, see jira-query for details. Currently only works when all info is present. Hook will not wait for user prompts.
{
  "jira-url": "https://jira.pants-online.com",
  "username": "donkey.tomato",
  "password": "unguessable!"
}

Usage

In the root of any git project, run cya-git. From then on, when you commit, the commit message will be checked for a valid Jira issue key prefix. If not found, the commit will be aborted.

screenshot

Removal

To remove cya-git checks from a project, run cya-git -r in the project's root.

In Future Releases

Check out the TODOs to see what's coming in future releases.


kickstarted by npm-boom