Created
April 13, 2015 21:55
-
-
Save gib/206440f441f6a90fc367 to your computer and use it in GitHub Desktop.
pre commit git-hook
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
#!/bin/sh | |
# Put this in .git/hooks/pre-commit | |
bundle exec rubocop . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment