Check your git commit messages for valid Jira issue keys.
version: 1.0.0
- Clone this repo.
cd cya-git & npm link
- 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!"
}
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.
To remove cya-git checks from a project, run cya-git -r
in the project's root.
Check out the TODOs to see what's coming in future releases.
kickstarted by npm-boom