Skip to content

Check your git commit messages for valid Jira issue keys.

Notifications You must be signed in to change notification settings

classflow/cya-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Check your git commit messages for valid Jira issue keys.

Resources

Stars

Watchers

Forks

Packages

No packages published