This file contains 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
#!/usr/bin/ruby | |
# | |
# Save this file as GITDIR/.git/hooks/prepare-commit-msg | |
# where GITDIR is the top directory of your git repository. | |
# then chmod +x prepare-commit-msg | |
# | |
# This hook is invoked by 'git-commit' right after preparing the default log | |
# message, and before the editor is started. | |
# | |
# It takes one to three parameters. The first is the name of the file that the commit |
NewerOlder