prepare-commit-msgit to ./.git/hooks/
- Make it executable (chmod +x filename)
It should prepend
[#STORY_ID] into your commit message when the editor pops up.
Your branch must be in this format to work:
it skips the prepaend if:
- The branch doesn't end in a story id (integer)
- The original commit message starts with "Merge"