Created
August 24, 2017 05:42
-
-
Save niltonvasques/53a749d8abe377f177bbc57cbfcbb48c to your computer and use it in GitHub Desktop.
Put pronto warnings on git commit msg
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
| # .git/hooks/pre-commit-msg | |
| #!/bin/sh | |
| echo "# Pronto Violations:" >> $1 | |
| bundle exec pronto run -c upstream/master | sed -e 's/^/# /' >> $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment