Skip to content
/ hgco Public

command line utility adding a JIRA issue key to the end of your mercurial commit messages automatically

License

Notifications You must be signed in to change notification settings

MichelML/hgco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



npm version npm version

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