Skip to content

Instantly share code, notes, and snippets.

@ursachec
Created April 23, 2013 14:22
Show Gist options
  • Save ursachec/5443974 to your computer and use it in GitHub Desktop.
Save ursachec/5443974 to your computer and use it in GitHub Desktop.
How-To: git pre-commit hook for NSLog calls

How-To: git pre-commit hook for NSLog calls

  1. Download the NSLog pre-commit hook from https://gist.github.com/plu/4124580

  2. Copy the pre-commit file to YOUR_PROJECT/.git/hooks/pre-commit

  3. Make the hook executable by running

chmod +x .git/hooks/pre-commit
  1. Enjoy!

example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment