These git hooks and scripts provide a more seamless experience linking git branches and commits to certain jira tickets.
This uses the Smart Commits feature https://confluence.atlassian.com/bitbucket/use-smart-commits-298979931.html
-
Enable Smart Commits https://confluence.atlassian.com/fisheye/enabling-smart-commits-960155641.html
-
Add
prepare-commit-msg
to your.git/hooks
directory in your git repo -
Re-initialize your hooks with
git init