Bannerwise / cz-jira-smart-commit

A commitizen adapter for Jira Smart Commits

Home Page:https://confluence.atlassian.com/display/FISHEYE/Using+smart+commits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation and usage

Run the following sh script inside this repository

chmod +x install.sh && ./install.sh

or execute manually

echo "Set NPM Global Directory"
npm config set prefix '/usr/local'
echo "Installing Commitizen Globally"
npm install -g commitizen
echo "Installing JIRA smart commits"
npm install -g Bannerwise/cz-jira-smart-commit#master
echo "Creating a global config file"
echo '{ "path": "/usr/local/lib/node_modules/cz-jira-smart-commit/" }' > ~/.czrc

To trigger the script, run:

git cz

or

cz

No need for cz file inside the project directory

Trigger commit without modification

cz --allow-empty   

About

A commitizen adapter for Jira Smart Commits

https://confluence.atlassian.com/display/FISHEYE/Using+smart+commits


Languages

Language:JavaScript 93.3%Language:Shell 6.7%