Skip to content

Instantly share code, notes, and snippets.

@mikrofusion
Created April 9, 2014 18:12
Show Gist options
  • Save mikrofusion/10298754 to your computer and use it in GitHub Desktop.
Save mikrofusion/10298754 to your computer and use it in GitHub Desktop.
Add cane to git pre-commit hook
#!/bin/sh
# put this in your .git/hooks directory and name it pre-commit
bundle exec cane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment