Created
December 15, 2015 13:22
-
-
Save franzejr/4d31cce679beb8a4d2ff to your computer and use it in GitHub Desktop.
Git Pre-commit
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
gem install pre-commit | |
pre-commit install | |
git config pre-commit.ruby "rvm `rvm current` do ruby" | |
git config pre-commit.checks "[whitespace, pry, console_log, debugger, rubocop]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment