Created
January 10, 2014 20:03
-
-
Save stevegrossi/8361585 to your computer and use it in GitHub Desktop.
When using git on a mac, this hook will speak your commit messages in a robot voice each time you commit. Just save this file within a git repository at .git/hooks/post-commit
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 | |
MESSAGE=$(git log -1 HEAD --pretty=format:%s) | |
say -v "Zarvox" "$MESSAGE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment