How it works
hgco looks up at your current branch name, and if it contains a JIRA issue key, hgco adds the issue key at the end of your commit message.
In any other case, hgco throws and your commit is canceled.
Install
npm install -g hgco
How to use
hgco -m 'your commit message' # --> converts to "hg commit -m 'your commit message [<your JIRA issue key>]'"
Maintainer
Michel Moreau - michmoreau.l@gmail.com