Skip to content

Instantly share code, notes, and snippets.

@franzejr
Created December 15, 2015 13:22
Show Gist options
  • Save franzejr/4d31cce679beb8a4d2ff to your computer and use it in GitHub Desktop.
Save franzejr/4d31cce679beb8a4d2ff to your computer and use it in GitHub Desktop.
Git Pre-commit
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