Skip to content

Instantly share code, notes, and snippets.

@niltonvasques
Created August 24, 2017 05:42
Show Gist options
  • Select an option

  • Save niltonvasques/53a749d8abe377f177bbc57cbfcbb48c to your computer and use it in GitHub Desktop.

Select an option

Save niltonvasques/53a749d8abe377f177bbc57cbfcbb48c to your computer and use it in GitHub Desktop.
Put pronto warnings on git commit msg
# .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