This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# jira-prepare-commit-msg: Easy commit tagging for Jira | |
# | |
# https://gist.github.com/jeremy-w/818b2980f0d9768da83249458aa67678 | |
# | |
# If you name your branch to include the Jira issue key, | |
# this hook will automatically add the issue key to your commit messages. | |
# This makes it easy to trace work back to Jira, and it also means | |
# your commits show up in the Activity tab for that issue. |