Skip to content

Instantly share code, notes, and snippets.

@hernantz
Created April 22, 2015 16:32
Embed
What would you like to do?
Delete pyc files git hook
$ cat ~/path/to/.git/hooks/post-checkout
#!/bin/bash
echo "Cleaning pyc"
find . -iname '*.pyc' -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment