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/sh | |
# | |
# Prepend the branch name to the commit message | |
# | |
# Example | |
# # On branch BRA-1_homepage | |
# git commit -m "Responsive menu" | |
# # => [BRA-1] Responsive menu | |
# | |
# Add this file as [repo]/.git/hooks/prepare-commit-msg |